11repos :
2- - repo : https://github.com/psf/black
3- rev : 22.10.0
2+ - repo : https://github.com/PyCQA/autoflake
3+ rev : v1.7.7
44 hooks :
5- - id : black
6- args : [--safe, --quiet]
7- - repo : https://github.com/asottile/blacken-docs
8- rev : v1.12.1
5+ - id : autoflake
6+ name : autoflake
7+ args : ["--in-place", "--remove-unused-variables", "--remove-all-unused-imports"]
8+ language : python
9+ files : \.py$
10+ - repo : https://github.com/asottile/reorder_python_imports
11+ rev : v3.9.0
912 hooks :
10- - id : blacken-docs
11- additional_dependencies : [black==22.10.0 ]
13+ - id : reorder-python-imports
14+ args : ['--application-directories=.:src', --py37-plus ]
1215- repo : https://github.com/pre-commit/pre-commit-hooks
1316 rev : v2.1.0
1417 hooks :
1518 - id : trailing-whitespace
1619 - id : end-of-file-fixer
1720 - id : flake8
1821 additional_dependencies : [flake8-typing-imports]
19- - repo : https://github.com/pre-commit/mirrors-mypy
20- rev : v0.990
22+ - repo : https://github.com/pre-commit/pygrep-hooks
23+ rev : v1.9.0
2124 hooks :
22- - id : mypy
23- files : ^(src/|testing/)
24- args : []
25- additional_dependencies : [pytest]
25+ - id : rst-backticks
26+ - repo : https://github.com/asottile/pyupgrade
27+ rev : v3.2.2
28+ hooks :
29+ - id : pyupgrade
30+ args : [--py37-plus]
31+ - repo : https://github.com/psf/black
32+ rev : 22.10.0
33+ hooks :
34+ - id : black
35+ args : [--safe, --quiet]
36+ - repo : https://github.com/asottile/blacken-docs
37+ rev : v1.12.1
38+ hooks :
39+ - id : blacken-docs
40+ additional_dependencies : [black==22.10.0]
2641- repo : local
2742 hooks :
2843 - id : rst
@@ -31,12 +46,10 @@ repos:
3146 files : ^(CHANGELOG.rst|HOWTORELEASE.rst|README.rst|changelog/.*)$
3247 language : python
3348 additional_dependencies : [pygments, restructuredtext_lint]
34- - repo : https://github.com/pre-commit/pygrep-hooks
35- rev : v1.9.0
36- hooks :
37- - id : rst-backticks
38- - repo : https://github.com/asottile/pyupgrade
39- rev : v3.2.2
49+ - repo : https://github.com/pre-commit/mirrors-mypy
50+ rev : v0.990
4051 hooks :
41- - id : pyupgrade
42- args : [--py37-plus]
52+ - id : mypy
53+ files : ^(src/|testing/)
54+ args : []
55+ additional_dependencies : [pytest]
0 commit comments