This commit is contained in:
Anthony Sottile 2025-03-29 15:39:58 -04:00
parent e492aeb385
commit 9d55ccdb72
22 changed files with 64 additions and 78 deletions

View file

@ -12,19 +12,19 @@ repos:
hooks:
- id: setup-cfg-fmt
- repo: https://github.com/asottile/reorder-python-imports
rev: v3.12.0
rev: v3.14.0
hooks:
- id: reorder-python-imports
args: [
--application-directories, '.:src',
--py38-plus,
--py39-plus,
--add-import, 'from __future__ import annotations',
]
- repo: https://github.com/asottile/pyupgrade
rev: v3.15.0
rev: v3.19.1
hooks:
- id: pyupgrade
args: [--py38-plus]
args: [--py39-plus]
- repo: https://github.com/psf/black
rev: 23.12.1
hooks:
@ -35,7 +35,7 @@ repos:
hooks:
- id: flake8
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.8.0
rev: v1.15.0
hooks:
- id: mypy
exclude: ^(docs/|example-plugin/)