Merge pull request #3042 from pre-commit/py39

python3.9+
This commit is contained in:
Anthony Sottile 2023-10-28 14:35:26 -04:00 committed by GitHub
commit 762e68173b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
50 changed files with 84 additions and 85 deletions

View file

@ -18,7 +18,7 @@ repos:
hooks:
- id: reorder-python-imports
exclude: ^(pre_commit/resources/|testing/resources/python3_hooks_repo/)
args: [--py38-plus, --add-import, 'from __future__ import annotations']
args: [--py39-plus, --add-import, 'from __future__ import annotations']
- repo: https://github.com/asottile/add-trailing-comma
rev: v3.1.0
hooks:
@ -27,7 +27,7 @@ repos:
rev: v3.15.0
hooks:
- id: pyupgrade
args: [--py38-plus]
args: [--py39-plus]
- repo: https://github.com/hhatto/autopep8
rev: v2.0.4
hooks: