fix python 2.7 repo: local hooks

This commit is contained in:
Anthony Sottile 2022-04-02 20:26:03 -04:00
parent c5a39ae77e
commit 1722448c3b
4 changed files with 14 additions and 12 deletions

View file

@ -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