2022-10-14 14:53:06 +00:00
|
|
|
# See https://pre-commit.com for more information
|
|
|
|
# See https://pre-commit.com/hooks.html for more hooks
|
|
|
|
repos:
|
|
|
|
|
2022-12-31 17:33:20 +00:00
|
|
|
- repo: https://github.com/asottile/pyupgrade
|
|
|
|
rev: v3.3.1
|
|
|
|
hooks:
|
|
|
|
- id: pyupgrade
|
|
|
|
|
2022-10-18 07:39:10 +00:00
|
|
|
- repo: https://github.com/psf/black
|
2022-12-10 01:11:41 +00:00
|
|
|
rev: 22.12.0
|
2022-10-14 14:53:06 +00:00
|
|
|
hooks:
|
|
|
|
- id: black
|
|
|
|
|
|
|
|
- repo: https://github.com/pycqa/isort
|
2022-12-17 08:54:47 +00:00
|
|
|
rev: 5.11.4
|
2022-10-14 14:53:06 +00:00
|
|
|
hooks:
|
|
|
|
- id: isort
|
|
|
|
args: ["--profile", "black"]
|
|
|
|
|
2022-10-18 07:39:10 +00:00
|
|
|
- repo: https://github.com/PyCQA/flake8
|
2022-11-24 06:37:57 +00:00
|
|
|
rev: 6.0.0
|
2022-10-14 14:53:06 +00:00
|
|
|
hooks:
|
|
|
|
- id: flake8
|
|
|
|
exclude: "setup.py|tests"
|
|
|
|
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2022-11-24 06:37:57 +00:00
|
|
|
rev: v4.4.0
|
2022-10-14 14:53:06 +00:00
|
|
|
hooks:
|
2022-12-05 19:34:33 +00:00
|
|
|
- id: fix-encoding-pragma
|
|
|
|
args: [--remove]
|
2022-10-14 14:53:06 +00:00
|
|
|
- id: trailing-whitespace
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
exclude: "tests/dicts/io/input/"
|
|
|
|
- id: check-yaml
|
|
|
|
- id: check-added-large-files
|