mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-18 16:44:42 +04:00
fix python 2.7 repo: local hooks
This commit is contained in:
parent
c5a39ae77e
commit
1722448c3b
4 changed files with 14 additions and 12 deletions
|
|
@ -17,7 +17,7 @@ repos:
|
|||
rev: v3.0.1
|
||||
hooks:
|
||||
- id: reorder-python-imports
|
||||
exclude: ^testing/resources/python3_hooks_repo/
|
||||
exclude: ^(pre_commit/resources/|testing/resources/python3_hooks_repo/)
|
||||
args: [--py37-plus, --add-import, 'from __future__ import annotations']
|
||||
- repo: https://github.com/asottile/add-trailing-comma
|
||||
rev: v2.2.1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue