Run pre-commit on 3.11, pyupgrade for 3.7

This commit is contained in:
Hynek Schlawack 2023-01-25 12:46:18 +01:00
parent c9150d278c
commit c3a1766798
No known key found for this signature in database
GPG Key ID: AE2536227F69F181
1 changed files with 2 additions and 3 deletions

View File

@ -3,7 +3,7 @@ ci:
autoupdate_schedule: monthly
default_language_version:
python: python3.10 # needed for match
python: python3.11
repos:
- repo: https://github.com/psf/black
@ -15,14 +15,13 @@ repos:
rev: v3.3.1
hooks:
- id: pyupgrade
args: [--py36-plus, --keep-percent-format]
args: [--py37-plus, --keep-percent-format]
exclude: "tests/test_slots.py"
- repo: https://github.com/PyCQA/isort
rev: 5.11.4
hooks:
- id: isort
additional_dependencies: [toml]
files: \.py$
- repo: https://github.com/asottile/yesqa