mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-18 16:44:42 +04:00
drop python 3.6 support
python 3.6 reached end of life on 2021-12-23
This commit is contained in:
parent
d3bdf1403d
commit
04de6a2e57
111 changed files with 401 additions and 286 deletions
|
|
@ -28,12 +28,13 @@ repos:
|
|||
rev: v2.31.0
|
||||
hooks:
|
||||
- id: pyupgrade
|
||||
args: [--py36-plus]
|
||||
args: [--py37-plus]
|
||||
- repo: https://github.com/asottile/reorder_python_imports
|
||||
rev: v2.6.0
|
||||
hooks:
|
||||
- id: reorder-python-imports
|
||||
args: [--py3-plus]
|
||||
args: [--py37-plus, --add-import, 'from __future__ import annotations']
|
||||
exclude: ^testing/resources/python3_hooks_repo/
|
||||
- repo: https://github.com/asottile/add-trailing-comma
|
||||
rev: v2.2.1
|
||||
hooks:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue