This commit is contained in:
parent
726c5c08dd
commit
cc9f43fd1a
1 changed files with 5 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
|||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.1.0
|
||||
rev: v4.2.0
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
- id: end-of-file-fixer
|
||||
|
@ -19,7 +19,7 @@ repos:
|
|||
- "--max-line-length=200"
|
||||
- "--ignore=E501,W503"
|
||||
- repo: https://github.com/psf/black
|
||||
rev: 21.12b0
|
||||
rev: 22.3.0
|
||||
hooks:
|
||||
- id: black
|
||||
name: black (python)
|
||||
|
@ -27,7 +27,7 @@ repos:
|
|||
- '-S'
|
||||
- '-l 200'
|
||||
- repo: https://github.com/pre-commit/mirrors-mypy
|
||||
rev: v0.931
|
||||
rev: v0.942
|
||||
hooks:
|
||||
- id: mypy
|
||||
additional_dependencies: [pydantic] # add if use pydantic
|
||||
|
@ -38,12 +38,12 @@ repos:
|
|||
name: isort (python)
|
||||
args: ['--profile', 'black']
|
||||
- repo: https://github.com/PyCQA/bandit
|
||||
rev: 1.7.1
|
||||
rev: 1.7.4
|
||||
hooks:
|
||||
- id: bandit
|
||||
exclude: ^tests/
|
||||
- repo: https://github.com/asottile/pyupgrade
|
||||
rev: v2.31.0
|
||||
rev: v2.32.0
|
||||
hooks:
|
||||
- id: pyupgrade
|
||||
- repo: local
|
||||
|
|
Loading…
Reference in a new issue