|
1 | 1 | exclude: ^tests/fixtures/ |
2 | 2 | repos: |
3 | | -- repo: https://github.com/pre-commit/pre-commit-hooks |
4 | | - rev: v4.5.0 |
5 | | - hooks: |
6 | | - - id: check-yaml |
7 | | - - id: debug-statements |
8 | | - - id: end-of-file-fixer |
9 | | - - id: trailing-whitespace |
10 | | -- repo: https://github.com/asottile/reorder-python-imports |
11 | | - rev: v3.12.0 |
12 | | - hooks: |
13 | | - - id: reorder-python-imports |
14 | | - args: [--application-directories, '.:src', --py38-plus] |
15 | | -- repo: https://github.com/psf/black |
16 | | - rev: 23.12.1 |
17 | | - hooks: |
18 | | - - id: black |
19 | | -- repo: https://github.com/asottile/pyupgrade |
20 | | - rev: v3.15.0 |
21 | | - hooks: |
22 | | - - id: pyupgrade |
23 | | - args: [--py38-plus] |
24 | | -- repo: https://github.com/pre-commit/mirrors-mypy |
25 | | - rev: v1.8.0 |
26 | | - hooks: |
27 | | - - id: mypy |
28 | | - exclude: ^(docs/|tests/) |
29 | | -- repo: https://github.com/jorisroovers/gitlint |
30 | | - rev: v0.19.1 |
31 | | - hooks: |
32 | | - - id: gitlint |
33 | | -- repo: https://github.com/asottile/setup-cfg-fmt |
34 | | - rev: v2.5.0 |
35 | | - hooks: |
36 | | - - id: setup-cfg-fmt |
37 | | - args: [--min-py3-version, '3.8'] |
| 3 | +- repo: https://github.com/pre-commit/pre-commit-hooks |
| 4 | + rev: v5.0.0 |
| 5 | + hooks: |
| 6 | + - id: check-yaml |
| 7 | + - id: debug-statements |
| 8 | + - id: end-of-file-fixer |
| 9 | + - id: trailing-whitespace |
| 10 | +- repo: https://github.com/PyCQA/isort |
| 11 | + rev: 6.0.1 |
| 12 | + hooks: |
| 13 | + - id: isort |
| 14 | +- repo: https://github.com/psf/black |
| 15 | + rev: 25.1.0 |
| 16 | + hooks: |
| 17 | + - id: black |
| 18 | +- repo: https://github.com/asottile/pyupgrade |
| 19 | + rev: v3.20.0 |
| 20 | + hooks: |
| 21 | + - id: pyupgrade |
| 22 | + args: [--py39-plus] |
| 23 | +- repo: https://github.com/pre-commit/mirrors-mypy |
| 24 | + rev: v1.15.0 |
| 25 | + hooks: |
| 26 | + - id: mypy |
| 27 | + exclude: ^(docs/|tests/) |
| 28 | +- repo: https://github.com/jorisroovers/gitlint |
| 29 | + rev: v0.19.1 |
| 30 | + hooks: |
| 31 | + - id: gitlint |
| 32 | +- repo: https://github.com/asottile/setup-cfg-fmt |
| 33 | + rev: v2.8.0 |
| 34 | + hooks: |
| 35 | + - id: setup-cfg-fmt |
| 36 | + args: [--min-py-version, '3.9'] |
0 commit comments