File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# See https://pre-commit.com for more information
22# See https://pre-commit.com/hooks.html for more hooks
33default_language_version :
4- python : python3.7
4+ python : python3
55repos :
66- repo : https://github.com/pre-commit/pre-commit-hooks
7- rev : v2.4 .0
7+ rev : v4.5 .0
88 hooks :
99 - id : no-commit-to-branch
1010 - id : check-executables-have-shebangs
@@ -22,41 +22,52 @@ repos:
2222 args :
2323 - --autofix
2424- repo : https://github.com/psf/black
25- rev : 20.8b1
25+ rev : 24.1.1
2626 hooks :
2727 - id : black
28- language_version : python3.7
28+ language_version : python3
2929- repo : https://github.com/pre-commit/mirrors-mypy
30- rev : v0.800
30+ rev : v1.8.0
3131 hooks :
3232 - id : mypy
3333 language : system
34- args : [--strict] # , --ignore-missing-imports ]
35- - repo : https://github.com/pre-commit/mirrors- pylint
36- rev : v2.4.4
34+ args : [" --strict" ]
35+ - repo : https://github.com/pycqa/ pylint
36+ rev : v3.0.3
3737 hooks :
3838 - id : pylint
3939 language : system
4040- repo : https://github.com/Lucas-C/pre-commit-hooks
41- rev : v1.1.7
41+ rev : v1.5.4
4242 hooks :
4343 - id : forbid-crlf
4444 - id : remove-crlf
4545 - id : forbid-tabs
4646 - id : remove-tabs
4747- repo : https://github.com/PyCQA/bandit
48- rev : 1.6.2
48+ rev : 1.7.7
4949 hooks :
5050 - id : bandit
5151 args : ["--skip=B101"]
52- - repo : git ://github.com/Lucas-C/pre-commit-hooks-markup
53- rev : v1.0.0
52+ - repo : https ://github.com/Lucas-C/pre-commit-hooks-markup
53+ rev : v1.0.1
5454 hooks :
5555 - id : rst-linter
5656- repo : https://github.com/Yelp/detect-secrets
57- rev : v1.0.3
57+ rev : v1.4.0
5858 hooks :
5959 - id : detect-secrets
6060 language : system
6161 exclude : " poetry.lock"
6262 # args: ['--baseline', '.secrets.baseline']
63+ - repo : https://github.com/shellcheck-py/shellcheck-py
64+ rev : v0.9.0.6
65+ hooks :
66+ - id : shellcheck
67+ args : ["--external-sources"]
68+ - repo : https://github.com/python-poetry/poetry
69+ rev : ' 1.7.1'
70+ hooks :
71+ - id : poetry-check
72+ - id : poetry-lock
73+ args : ["--no-update"]
You can’t perform that action at this time.
0 commit comments