@@ -5,7 +5,7 @@ exclude: |
55
66repos :
77- repo : https://github.com/pre-commit/pre-commit-hooks
8- rev : v4.3 .0
8+ rev : v4.4 .0
99 hooks :
1010 - id : check-added-large-files
1111 args : ['--maxkb=25']
@@ -34,11 +34,6 @@ repos:
3434 - id : python-no-log-warn
3535 - id : python-use-type-annotations
3636 - 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]
4237- repo : https://github.com/asottile/reorder_python_imports
4338 rev : v3.9.0
4439 hooks :
@@ -52,44 +47,26 @@ repos:
5247 {{cookiecutter.project_slug}}/setup.cfg
5348 )$
5449 - repo : https://github.com/psf/black
55- rev : 22.10 .0
50+ rev : 22.12 .0
5651 hooks :
5752 - id : black
5853- repo : https://github.com/PyCQA/docformatter
59- rev : v1.5.0
54+ rev : v1.5.1
6055 hooks :
6156 - id : docformatter
6257 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
6560 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
8364- repo : https://github.com/dosisod/refurb
84- rev : v1.5.0
65+ rev : v1.9.1
8566 hooks :
8667 - id : refurb
8768 args : [--ignore, FURB126]
8869 exclude : ({{cookiecutter.project_slug}})
89- - repo : https://github.com/guilatrova/tryceratops
90- rev : v1.1.0
91- hooks :
92- - id : tryceratops
9370- repo : https://github.com/econchick/interrogate
9471 rev : 1.5.0
9572 hooks :
@@ -104,10 +81,6 @@ repos:
10481 " {{cookiecutter.project_slug}}/tests/test_import.py"
10582 ]
10683 pass_filenames : false
107- - repo : https://github.com/codespell-project/codespell
108- rev : v2.1.0
109- hooks :
110- - id : codespell
11184- repo : https://github.com/executablebooks/mdformat
11285 rev : 0.7.16
11386 hooks :
@@ -141,13 +114,9 @@ repos:
141114 rev : v2.2.2
142115 hooks :
143116 - 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]
149118- repo : https://github.com/pre-commit/mirrors-mypy
150- rev : ' v0.990 '
119+ rev : ' v0.991 '
151120 hooks :
152121 - id : mypy
153122 args : [
0 commit comments