@@ -5,7 +5,7 @@ exclude: |
5
5
6
6
repos :
7
7
- repo : https://github.com/pre-commit/pre-commit-hooks
8
- rev : v4.3 .0
8
+ rev : v4.4 .0
9
9
hooks :
10
10
- id : check-added-large-files
11
11
args : ['--maxkb=25']
@@ -34,11 +34,6 @@ repos:
34
34
- id : python-no-log-warn
35
35
- id : python-use-type-annotations
36
36
- id : text-unicode-replacement-char
37
- - repo : https://github.com/asottile/pyupgrade
38
- rev : v3.2.2
39
- hooks :
40
- - id : pyupgrade
41
- args : [--py37-plus]
42
37
- repo : https://github.com/asottile/reorder_python_imports
43
38
rev : v3.9.0
44
39
hooks :
@@ -52,44 +47,26 @@ repos:
52
47
{{cookiecutter.project_slug}}/setup.cfg
53
48
)$
54
49
- repo : https://github.com/psf/black
55
- rev : 22.10 .0
50
+ rev : 22.12 .0
56
51
hooks :
57
52
- id : black
58
53
- repo : https://github.com/PyCQA/docformatter
59
- rev : v1.5.0
54
+ rev : v1.5.1
60
55
hooks :
61
56
- id : docformatter
62
57
args : [--in-place, --wrap-summaries, "88", --wrap-descriptions, "88", --blank]
63
- - repo : https://github.com/PyCQA/flake8
64
- rev : 5 .0.4
58
+ - repo : https://github.com/charliermarsh/ruff-pre-commit
59
+ rev : v0 .0.205
65
60
hooks :
66
- - id : flake8
67
- additional_dependencies : [
68
- flake8-alfred,
69
- flake8-bugbear,
70
- flake8-builtins,
71
- flake8-comprehensions,
72
- flake8-docstrings,
73
- flake8-eradicate,
74
- flake8-print,
75
- flake8-pytest-style,
76
- flake8-todo,
77
- flake8-typing-imports,
78
- flake8-unused-arguments,
79
- pep8-naming,
80
- pydocstyle,
81
- Pygments,
82
- ]
61
+ - id : ruff
62
+ args : [hooks, tests]
63
+ pass_filenames : false
83
64
- repo : https://github.com/dosisod/refurb
84
- rev : v1.5.0
65
+ rev : v1.9.1
85
66
hooks :
86
67
- id : refurb
87
68
args : [--ignore, FURB126]
88
69
exclude : ({{cookiecutter.project_slug}})
89
- - repo : https://github.com/guilatrova/tryceratops
90
- rev : v1.1.0
91
- hooks :
92
- - id : tryceratops
93
70
- repo : https://github.com/econchick/interrogate
94
71
rev : 1.5.0
95
72
hooks :
@@ -104,10 +81,6 @@ repos:
104
81
" {{cookiecutter.project_slug}}/tests/test_import.py"
105
82
]
106
83
pass_filenames : false
107
- - repo : https://github.com/codespell-project/codespell
108
- rev : v2.1.0
109
- hooks :
110
- - id : codespell
111
84
- repo : https://github.com/executablebooks/mdformat
112
85
rev : 0.7.16
113
86
hooks :
@@ -141,13 +114,9 @@ repos:
141
114
rev : v2.2.2
142
115
hooks :
143
116
- id : codespell
144
- - repo : https://github.com/guilatrova/tryceratops
145
- rev : v1.1.0
146
- hooks :
147
- - id : tryceratops
148
- exclude : " {{cookiecutter.project_slug}}/pyproject.toml"
117
+ additional_dependencies : [tomli]
149
118
- repo : https://github.com/pre-commit/mirrors-mypy
150
- rev : ' v0.990 '
119
+ rev : ' v0.991 '
151
120
hooks :
152
121
- id : mypy
153
122
args : [
0 commit comments