Skip to content

Commit 74b19df

Browse files
committed
Cleanup pyproject.toml and configs
1 parent 8435ee7 commit 74b19df

File tree

3 files changed

+231
-81
lines changed

3 files changed

+231
-81
lines changed

.pre-commit-config.yaml

Lines changed: 33 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,58 @@
1+
ci:
2+
autofix_prs: false
3+
14
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+
223
- repo: https://github.com/psf/black
3-
rev: 22.6.0
24+
rev: 22.8.0
425
hooks:
526
- id: black
627

728
- repo: https://github.com/asottile/yesqa
8-
rev: v1.3.0
29+
rev: v1.4.0
930
hooks:
1031
- id: yesqa
1132
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
1435
- flake8-comprehensions==3.10.0
15-
- flake8-eradicate==1.2.1
36+
- flake8-eradicate==1.3.0
1637
- flake8-quotes==3.3.1
17-
- flake8-simplify==0.19.2
38+
- flake8-simplify==0.19.3
1839
- 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
2344

2445
- repo: https://github.com/pycqa/flake8
25-
rev: 4.0.1
46+
rev: 5.0.4
2647
hooks:
2748
- id: flake8
2849
additional_dependencies: *flake8_deps
2950

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-
3651
- repo: https://github.com/pre-commit/pre-commit-hooks
37-
rev: v2.3.0
52+
rev: v4.3.0
3853
hooks:
3954
- id: trailing-whitespace
4055
exclude: ^tests/.*/fixtures/.*
4156
- id: end-of-file-fixer
4257
exclude: ^tests/.*/fixtures/.*
4358
- 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

Comments
 (0)