mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 00:04:42 +04:00
python3.9+
This commit is contained in:
parent
61cc55a59c
commit
7f15dc75ee
50 changed files with 84 additions and 85 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue