@@ -24,66 +24,18 @@ repos:
24
24
- id : mypy
25
25
additional_dependencies :
26
26
- types-toml
27
- - repo : https://github.com/pre-commit/pygrep-hooks
28
- rev : v1.10.0
29
- hooks :
30
- - id : python-check-blanket-noqa
31
- - id : python-check-blanket-type-ignore
32
- - id : python-check-mock-methods
33
- - id : python-no-eval
34
- - id : python-no-log-warn
35
- - id : python-use-type-annotations
36
- - repo : https://github.com/asottile/add-trailing-comma
37
- rev : v3.1.0
38
- hooks :
39
- - id : add-trailing-comma
40
- - repo : https://github.com/asottile/pyupgrade
41
- rev : v3.15.0
42
- hooks :
43
- - id : pyupgrade
44
- - repo : https://github.com/asottile/yesqa
45
- rev : v1.5.0
46
- hooks :
47
- - id : yesqa
48
- - repo : https://github.com/psf/black
49
- rev : 23.12.1
50
- hooks :
51
- - id : black
52
- - repo : https://github.com/PyCQA/flake8
53
- rev : 7.0.0
54
- hooks :
55
- - id : flake8
56
- args : ["--max-line-length", "88", "--extend-ignore", "E501"]
57
- additional_dependencies :
58
- - flake8-bugbear
59
- - flake8-builtins
60
- - repo : https://github.com/PyCQA/bandit
61
- rev : 1.7.6
62
- hooks :
63
- - id : bandit
64
- args : ["-c", ".bandit"]
65
- - repo : https://github.com/PyCQA/pydocstyle
66
- rev : 6.3.0
67
- hooks :
68
- - id : pydocstyle
69
- args : ["--convention", "pep257", "--add-ignore", "D100,D102"]
70
- additional_dependencies :
71
- - toml
72
- exclude : airflint/__main__.py|tests/
73
- - repo : https://github.com/pycqa/isort
74
- rev : 5.13.2
75
- hooks :
76
- - id : isort
77
- args : ["--profile", "black"]
27
+ - repo : https://github.com/astral-sh/ruff-pre-commit
28
+ rev : v0.1.15
29
+ hooks :
30
+ - id : ruff
31
+ args :
32
+ - --fix
33
+ - --unsafe-fixes
34
+ - id : ruff-format
78
35
- repo : https://github.com/crate-ci/typos
79
- rev : v1.17.1
36
+ rev : v1.17.2
80
37
hooks :
81
38
- id : typos
82
- - repo : https://github.com/pycqa/autoflake
83
- rev : v2.2.1
84
- hooks :
85
- - id : autoflake
86
- args : ["--remove-all-unused-imports", "--in-place"]
87
39
- repo : local
88
40
hooks :
89
41
- id : pytest
0 commit comments