|
1 | 1 | repos: |
2 | | -- hooks: |
3 | | - - args: |
4 | | - - --markdown-linebreak-ext=md,markdown |
5 | | - id: trailing-whitespace |
6 | | - - id: end-of-file-fixer |
7 | | - - id: check-yaml |
8 | | - - id: check-added-large-files |
9 | | - - id: check-ast |
10 | | - - id: fix-byte-order-marker |
11 | | - - id: check-merge-conflict |
12 | | - - id: debug-statements |
13 | | - - id: detect-private-key |
14 | | - - id: check-builtin-literals |
15 | | - - id: check-case-conflict |
16 | | - - id: check-docstring-first |
17 | | - - id: check-executables-have-shebangs |
18 | | - - id: check-shebang-scripts-are-executable |
19 | | - - id: check-symlinks |
20 | | - - args: |
21 | | - - --fix=lf |
22 | | - id: mixed-line-ending |
23 | | - - exclude: ^\.(vscode|devcontainer)/ |
24 | | - id: check-json |
25 | | - - args: |
26 | | - - --indent |
27 | | - - '4' |
28 | | - - --autofix |
29 | | - - --no-sort-keys |
30 | | - exclude: ^\.(vscode|devcontainer)/ |
31 | | - id: pretty-format-json |
32 | | - - id: check-toml |
33 | | - repo: https://github.com/pre-commit/pre-commit-hooks |
34 | | - rev: 2c9f875913ee60ca25ce70243dc24d5b6415598c |
35 | | -- repo: https://github.com/bwhmather/ssort |
36 | | - rev: dcb59fdb9b46ed1bb8e6ca2107e35f76cdc9c97e # frozen: 0.12.4 |
37 | | - hooks: |
38 | | - - id: ssort |
39 | | -- hooks: |
40 | | - - id: black |
41 | | - repo: https://github.com/psf/black |
42 | | - rev: 8fe627072f15ff2e3d380887b92f7868efaf6d05 |
43 | | -- hooks: |
44 | | - - id: isort |
45 | | - repo: https://github.com/pycqa/isort |
46 | | - rev: c235f5e450b4b84e58d114ed4c589cbf454175a3 |
47 | | -- hooks: |
48 | | - - id: python-no-eval |
49 | | - - id: python-no-log-warn |
50 | | - repo: https://github.com/pre-commit/pygrep-hooks |
51 | | - rev: 3a6eb0fadf60b3cccfd80bad9dbb6fae7e47b316 |
52 | | -- hooks: |
53 | | - - id: flynt |
54 | | - repo: https://github.com/ikamensh/flynt |
55 | | - rev: 651c822fdcf45fffcf9743dc755085f32acb65e3 |
56 | | -- hooks: |
57 | | - - args: |
58 | | - - --py38-plus |
59 | | - id: pyupgrade |
60 | | - repo: https://github.com/asottile/pyupgrade |
61 | | - rev: 12af25eb252deaaecb6b259df40d01f42e716dc3 |
62 | | -- hooks: |
63 | | - - additional_dependencies: |
64 | | - - tomli ; python_version < '3.11' |
65 | | - id: auto-walrus |
66 | | - repo: https://github.com/MarcoGorelli/auto-walrus |
67 | | - rev: 7855759486496a3248e9ff37dce7c6d57d39bfce |
68 | | -- hooks: |
69 | | - - additional_dependencies: |
70 | | - - tomli ; python_version < '3.11' |
71 | | - id: codespell |
72 | | - repo: https://github.com/codespell-project/codespell |
73 | | - rev: 6e41aba91fb32e9feb741a6258eefeb9c6e4a482 |
74 | | -- hooks: |
75 | | - - id: commitizen |
76 | | - repo: https://github.com/commitizen-tools/commitizen |
77 | | - rev: 7c0bc1591103b1f089aab9810fc2a201ccb0552b |
78 | | -- hooks: |
79 | | - - entry: hatch run python3 -m mypy |
80 | | - exclude: tests/.* |
81 | | - id: mypy |
82 | | - language: system |
83 | | - name: mypy |
84 | | - types: |
85 | | - - python |
86 | | - repo: local |
| 2 | + - repo: https://github.com/pre-commit/pre-commit-hooks |
| 3 | + rev: 2c9f875913ee60ca25ce70243dc24d5b6415598c |
| 4 | + hooks: |
| 5 | + - id: trailing-whitespace |
| 6 | + args: |
| 7 | + - --markdown-linebreak-ext=md,markdown |
| 8 | + - id: end-of-file-fixer |
| 9 | + - id: check-yaml |
| 10 | + - id: check-added-large-files |
| 11 | + - id: check-ast |
| 12 | + - id: fix-byte-order-marker |
| 13 | + - id: check-merge-conflict |
| 14 | + - id: debug-statements |
| 15 | + - id: detect-private-key |
| 16 | + - id: check-builtin-literals |
| 17 | + - id: check-case-conflict |
| 18 | + - id: check-docstring-first |
| 19 | + - id: check-executables-have-shebangs |
| 20 | + - id: check-shebang-scripts-are-executable |
| 21 | + - id: check-symlinks |
| 22 | + - id: mixed-line-ending |
| 23 | + args: |
| 24 | + - --fix=lf |
| 25 | + - id: check-json |
| 26 | + exclude: ^\.(vscode|devcontainer)/ |
| 27 | + - id: pretty-format-json |
| 28 | + exclude: ^\.(vscode|devcontainer)/ |
| 29 | + args: |
| 30 | + - --indent |
| 31 | + - '4' |
| 32 | + - --autofix |
| 33 | + - --no-sort-keys |
| 34 | + - id: check-toml |
| 35 | + - repo: https://github.com/bwhmather/ssort |
| 36 | + rev: dcb59fdb9b46ed1bb8e6ca2107e35f76cdc9c97e # frozen: 0.12.4 |
| 37 | + hooks: |
| 38 | + - id: ssort |
| 39 | + - repo: https://github.com/psf/black |
| 40 | + rev: 8fe627072f15ff2e3d380887b92f7868efaf6d05 |
| 41 | + hooks: |
| 42 | + - id: black |
| 43 | + - repo: https://github.com/pycqa/isort |
| 44 | + rev: c235f5e450b4b84e58d114ed4c589cbf454175a3 |
| 45 | + hooks: |
| 46 | + - id: isort |
| 47 | + - repo: https://github.com/pre-commit/pygrep-hooks |
| 48 | + rev: 3a6eb0fadf60b3cccfd80bad9dbb6fae7e47b316 |
| 49 | + hooks: |
| 50 | + - id: python-no-eval |
| 51 | + - id: python-no-log-warn |
| 52 | + - repo: https://github.com/ikamensh/flynt |
| 53 | + rev: 651c822fdcf45fffcf9743dc755085f32acb65e3 |
| 54 | + hooks: |
| 55 | + - id: flynt |
| 56 | + - repo: https://github.com/asottile/pyupgrade |
| 57 | + rev: 12af25eb252deaaecb6b259df40d01f42e716dc3 |
| 58 | + hooks: |
| 59 | + - id: pyupgrade |
| 60 | + args: |
| 61 | + - --py38-plus |
| 62 | + - repo: https://github.com/MarcoGorelli/auto-walrus |
| 63 | + rev: 7855759486496a3248e9ff37dce7c6d57d39bfce |
| 64 | + hooks: |
| 65 | + - id: auto-walrus |
| 66 | + additional_dependencies: |
| 67 | + - tomli ; python_version < '3.11' |
| 68 | + - repo: https://github.com/codespell-project/codespell |
| 69 | + rev: 6e41aba91fb32e9feb741a6258eefeb9c6e4a482 |
| 70 | + hooks: |
| 71 | + - id: codespell |
| 72 | + additional_dependencies: |
| 73 | + - tomli ; python_version < '3.11' |
| 74 | + - repo: https://github.com/commitizen-tools/commitizen |
| 75 | + rev: 7c0bc1591103b1f089aab9810fc2a201ccb0552b |
| 76 | + hooks: |
| 77 | + - id: commitizen |
| 78 | + - repo: local |
| 79 | + hooks: |
| 80 | + - id: mypy |
| 81 | + exclude: tests/.* |
| 82 | + entry: hatch run python3 -m mypy |
| 83 | + language: system |
| 84 | + name: mypy |
| 85 | + types: |
| 86 | + - python |
| 87 | + - repo: https://github.com/andreoliwa/nitpick |
| 88 | + rev: '36d4912df1f0bd2ed8cc535b57c5ba3b09ce3d46' # frozen: v0.35.0 |
| 89 | + hooks: |
| 90 | + - id: nitpick |
| 91 | +minimum_pre_commit_version: 2.18.0 |
| 92 | +default_install_hook_types: |
| 93 | + - pre-commit |
| 94 | + - pre-push |
| 95 | + - commit-msg |
0 commit comments