This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.5.0
|
||||
rev: v5.0.0
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
- id: end-of-file-fixer
|
||||
@@ -9,7 +9,7 @@ repos:
|
||||
- id: double-quote-string-fixer
|
||||
- id: name-tests-test
|
||||
- repo: https://github.com/asottile/setup-cfg-fmt
|
||||
rev: v2.5.0
|
||||
rev: v2.7.0
|
||||
hooks:
|
||||
- id: setup-cfg-fmt
|
||||
- repo: https://github.com/pre-commit/mirrors-isort
|
||||
@@ -23,24 +23,24 @@ repos:
|
||||
hooks:
|
||||
- id: add-trailing-comma
|
||||
- repo: https://github.com/asottile/pyupgrade
|
||||
rev: v3.15.1
|
||||
rev: v3.19.1
|
||||
hooks:
|
||||
- id: pyupgrade
|
||||
args: [--py39-plus]
|
||||
- repo: https://github.com/PyCQA/flake8
|
||||
rev: 7.0.0
|
||||
rev: 7.1.2
|
||||
hooks:
|
||||
- id: flake8
|
||||
entry: pflake8
|
||||
additional_dependencies:
|
||||
- "pyproject-flake8"
|
||||
- repo: https://github.com/pre-commit/mirrors-mypy
|
||||
rev: v1.8.0
|
||||
rev: v1.15.0
|
||||
hooks:
|
||||
- id: mypy
|
||||
exclude: ^testing/resources/
|
||||
- repo: https://github.com/psf/black
|
||||
rev: 24.4.2
|
||||
rev: 25.1.0
|
||||
hooks:
|
||||
- id: black
|
||||
language_version: python3.12
|
||||
@@ -55,7 +55,7 @@ repos:
|
||||
language: python
|
||||
types: [ python ]
|
||||
- repo: https://github.com/jendrikseipp/vulture
|
||||
rev: 'v2.6'
|
||||
rev: 'v2.14'
|
||||
hooks:
|
||||
- id: vulture
|
||||
entry: vulture . --min-confidence 90 --exclude */.venv/*.py,*/tests/*.py
|
||||
|
||||
Reference in New Issue
Block a user