|
| 1 | +ci: |
| 2 | + autofix_prs: false |
| 3 | + |
1 | 4 | repos: |
| 5 | + - repo: https://github.com/asottile/pyupgrade |
| 6 | + rev: v2.38.2 |
| 7 | + hooks: |
| 8 | + - id: pyupgrade |
| 9 | + args: |
| 10 | + - --py37-plus |
| 11 | + |
| 12 | + - repo: https://github.com/pycqa/isort |
| 13 | + rev: 5.10.1 |
| 14 | + hooks: |
| 15 | + - id: isort |
| 16 | + |
| 17 | + - repo: https://github.com/hadialqattan/pycln |
| 18 | + rev: v2.1.1 |
| 19 | + hooks: |
| 20 | + - id: pycln |
| 21 | + args: [--all] |
| 22 | + |
2 | 23 | - repo: https://github.com/psf/black |
3 | | - rev: 22.6.0 |
| 24 | + rev: 22.8.0 |
4 | 25 | hooks: |
5 | 26 | - id: black |
6 | 27 |
|
7 | 28 | - repo: https://github.com/asottile/yesqa |
8 | | - rev: v1.3.0 |
| 29 | + rev: v1.4.0 |
9 | 30 | hooks: |
10 | 31 | - id: yesqa |
11 | 32 | additional_dependencies: &flake8_deps |
12 | | - - flake8-broken-line==0.4.0 |
13 | | - - flake8-bugbear==22.7.1 |
| 33 | + - flake8-broken-line==0.5.0 |
| 34 | + - flake8-bugbear==22.8.23 |
14 | 35 | - flake8-comprehensions==3.10.0 |
15 | | - - flake8-eradicate==1.2.1 |
| 36 | + - flake8-eradicate==1.3.0 |
16 | 37 | - flake8-quotes==3.3.1 |
17 | | - - flake8-simplify==0.19.2 |
| 38 | + - flake8-simplify==0.19.3 |
18 | 39 | - flake8-tidy-imports==4.8.0 |
19 | | - - flake8-type-checking==2.0.3 |
20 | | - - flake8-typing-imports==1.12.0 |
21 | | - - flake8-use-fstring==1.3 |
22 | | - - pep8-naming==0.13.0 |
| 40 | + - flake8-type-checking==2.1.2 |
| 41 | + - flake8-typing-imports==1.13.0 |
| 42 | + - flake8-use-fstring==1.4 |
| 43 | + - pep8-naming==0.13.2 |
23 | 44 |
|
24 | 45 | - repo: https://github.com/pycqa/flake8 |
25 | | - rev: 4.0.1 |
| 46 | + rev: 5.0.4 |
26 | 47 | hooks: |
27 | 48 | - id: flake8 |
28 | 49 | additional_dependencies: *flake8_deps |
29 | 50 |
|
30 | | - - repo: https://github.com/pycqa/isort |
31 | | - rev: 5.10.1 |
32 | | - hooks: |
33 | | - - id: isort |
34 | | - args: [--add-import, from __future__ import annotations] |
35 | | - |
36 | 51 | - repo: https://github.com/pre-commit/pre-commit-hooks |
37 | | - rev: v2.3.0 |
| 52 | + rev: v4.3.0 |
38 | 53 | hooks: |
39 | 54 | - id: trailing-whitespace |
40 | 55 | exclude: ^tests/.*/fixtures/.* |
41 | 56 | - id: end-of-file-fixer |
42 | 57 | exclude: ^tests/.*/fixtures/.* |
43 | 58 | - id: debug-statements |
44 | | - |
45 | | - - repo: https://github.com/pre-commit/mirrors-mypy |
46 | | - rev: v0.971 |
47 | | - hooks: |
48 | | - - id: mypy |
49 | | - pass_filenames: false |
50 | | - additional_dependencies: |
51 | | - - pytest>=7.1.2 |
52 | | - |
53 | | - - repo: https://github.com/asottile/pyupgrade |
54 | | - rev: v2.37.2 |
55 | | - hooks: |
56 | | - - id: pyupgrade |
57 | | - args: |
58 | | - - --py37-plus |
59 | | - |
60 | | - - repo: https://github.com/hadialqattan/pycln |
61 | | - rev: v2.0.4 |
62 | | - hooks: |
63 | | - - id: pycln |
64 | | - args: [--all] |
0 commit comments