Run pre-commit on 3.11, pyupgrade for 3.7
This commit is contained in:
parent
c9150d278c
commit
c3a1766798
|
@ -3,7 +3,7 @@ ci:
|
||||||
autoupdate_schedule: monthly
|
autoupdate_schedule: monthly
|
||||||
|
|
||||||
default_language_version:
|
default_language_version:
|
||||||
python: python3.10 # needed for match
|
python: python3.11
|
||||||
|
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/psf/black
|
- repo: https://github.com/psf/black
|
||||||
|
@ -15,14 +15,13 @@ repos:
|
||||||
rev: v3.3.1
|
rev: v3.3.1
|
||||||
hooks:
|
hooks:
|
||||||
- id: pyupgrade
|
- id: pyupgrade
|
||||||
args: [--py36-plus, --keep-percent-format]
|
args: [--py37-plus, --keep-percent-format]
|
||||||
exclude: "tests/test_slots.py"
|
exclude: "tests/test_slots.py"
|
||||||
|
|
||||||
- repo: https://github.com/PyCQA/isort
|
- repo: https://github.com/PyCQA/isort
|
||||||
rev: 5.11.4
|
rev: 5.11.4
|
||||||
hooks:
|
hooks:
|
||||||
- id: isort
|
- id: isort
|
||||||
additional_dependencies: [toml]
|
|
||||||
files: \.py$
|
files: \.py$
|
||||||
|
|
||||||
- repo: https://github.com/asottile/yesqa
|
- repo: https://github.com/asottile/yesqa
|
||||||
|
|
Loading…
Reference in New Issue