Update pre-commit config
This commit is contained in:
parent
d6462e69a0
commit
9c536f9ad4
1 changed files with 6 additions and 6 deletions
|
|
@ -2,11 +2,11 @@ default_language_version:
|
|||
python: python3
|
||||
repos:
|
||||
- repo: https://github.com/psf/black
|
||||
rev: 22.6.0
|
||||
rev: 22.8.0
|
||||
hooks:
|
||||
- id: black
|
||||
- repo: https://github.com/myint/autoflake
|
||||
rev: v1.4
|
||||
rev: v1.5.3
|
||||
hooks:
|
||||
- id: autoflake
|
||||
args:
|
||||
|
|
@ -22,21 +22,21 @@ repos:
|
|||
- id: end-of-file-fixer
|
||||
- id: trailing-whitespace
|
||||
- repo: https://github.com/PyCQA/flake8
|
||||
rev: "4.0.1"
|
||||
rev: "5.0.4"
|
||||
hooks:
|
||||
- id: flake8
|
||||
additional_dependencies: ["flake8-bugbear==21.4.3"]
|
||||
additional_dependencies: ["flake8-bugbear==22.9.11"]
|
||||
- repo: https://github.com/PyCQA/isort
|
||||
rev: 5.10.1
|
||||
hooks:
|
||||
- id: isort
|
||||
- repo: https://github.com/myint/docformatter
|
||||
rev: v1.4
|
||||
rev: v1.5.0
|
||||
hooks:
|
||||
- id: docformatter
|
||||
args: ["--in-place", "--wrap-summaries=88"]
|
||||
- repo: https://github.com/asottile/pyupgrade
|
||||
rev: v2.34.0
|
||||
rev: v2.38.0
|
||||
hooks:
|
||||
- id: pyupgrade
|
||||
args: ["--py39-plus"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue