11repos :
22 - repo : https://github.com/pre-commit/pre-commit-hooks
3- rev : v3.4 .0
3+ rev : v4.2 .0
44 hooks :
55 - id : no-commit-to-branch
66 args : [--branch, main]
7+ stages : [push]
78 - id : check-added-large-files
89 - id : check-ast
910 - id : check-builtin-literals
10- - id : check-byte-order-marker
1111 - id : check-case-conflict
1212 - id : check-docstring-first
1313 - id : check-executables-have-shebangs
@@ -23,81 +23,71 @@ repos:
2323 - id : fix-byte-order-marker
2424 - id : forbid-new-submodules
2525 - id : mixed-line-ending
26+ - id : name-tests-test
2627 - id : trailing-whitespace
2728 args : ['--markdown-linebreak-ext=md']
2829 - repo : https://github.com/asottile/add-trailing-comma
29- rev : v2.1.0
30+ rev : v2.2.3
3031 hooks :
3132 - id : add-trailing-comma
32- - repo : git://github.com/Lucas-C/pre-commit-hooks
33- rev : v1.1.9
34- hooks :
35- - id : forbid-crlf
36- - id : forbid-tabs
3733 - repo : https://github.com/asottile/pyupgrade
38- rev : v2.11 .0
34+ rev : v2.32 .0
3935 hooks :
4036 - id : pyupgrade
4137 args : ['--py3-plus']
42- - repo : https://github.com/PyCQA/isort
43- rev : 5.8.0
44- hooks :
45- - id : isort
46- - repo : https://github.com/python/black
47- rev : 20.8b1
48- hooks :
49- - id : black
50- args : ['--target-version', 'py37', '--line-length', '128']
5138 - repo : https://gitlab.com/pycqa/flake8
52- rev : 3.9.0
39+ rev : 3.9.2
5340 hooks :
5441 - id : flake8
55- additional_dependencies : [flake8-eradicate]
42+ additional_dependencies : [flake8-eradicate, flake8-pytest-style ]
5643 args : ["--max-line-length", "130"]
5744 - repo : https://github.com/pre-commit/mirrors-mypy
58- rev : v0.812
45+ rev : v0.950
5946 hooks :
6047 - id : mypy
61- additional_dependencies : [tokenize-rt==4.1.0 ]
48+ additional_dependencies : [tokenize-rt]
6249 types : [python]
6350 args : ['--follow-imports=skip', '--ignore-missing-imports']
6451 - repo : https://github.com/pre-commit/pygrep-hooks
65- rev : v1.8 .0
52+ rev : v1.9 .0
6653 hooks :
6754 - id : python-check-blanket-noqa
6855 - id : python-check-mock-methods
6956 - id : python-no-eval
7057 - id : python-no-log-warn
7158 - id : python-use-type-annotations
72- - repo : https://github.com/asottile/add-trailing-comma
73- rev : v2.1.0
74- hooks :
75- - id : add-trailing-comma
7659 - repo : https://github.com/Lucas-C/pre-commit-hooks-safety
77- rev : v1.2.1
60+ rev : v1.2.4
7861 hooks :
7962 - id : python-safety-dependencies-check
8063 stages : [manual]
8164 - repo : https://github.com/Lucas-C/pre-commit-hooks-bandit
82- rev : v1.0.4
65+ rev : v1.0.6
8366 hooks :
8467 - id : python-bandit-vulnerability-check
8568 stages : [manual]
8669 - repo : https://github.com/Lucas-C/pre-commit-hooks
87- rev : v1.1.9
70+ rev : v1.1.13
8871 hooks :
8972 - id : forbid-crlf
9073 - id : remove-crlf
9174 - id : forbid-tabs
9275 - id : remove-tabs
9376 - repo : https://github.com/PyCQA/isort
94- rev : 5.8.0
77+ rev : 5.10.1
9578 hooks :
9679 - id : isort
9780 types : [python]
9881 args : ["--profile", "black", "--filter-files", "-l 128"]
9982 - repo : https://github.com/python/black
100- rev : 20.8b1
83+ rev : 22.3.0
10184 hooks :
10285 - id : black
10386 args : ['--target-version', 'py35', '--line-length', '128']
87+ - repo : https://github.com/jazzband/pip-tools
88+ rev : 6.6.0
89+ hooks :
90+ - id : pip-compile
91+ name : pip-compile requirements-dev.in
92+ args : [requirements-dev.in]
93+ files : ^requirements-dev\.(in|txt)$
0 commit comments