Skip to content

Commit 3b98040

Browse files
committed
fix pre-commit issues
1 parent 97419b3 commit 3b98040

3 files changed

Lines changed: 2 additions & 4 deletions

File tree

.pre-commit-config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ repos:
1717
rev: v3.0.1
1818
hooks:
1919
- id: reorder-python-imports
20+
exclude: ^testing/resources/python3_hooks_repo/
2021
args: [--py37-plus, --add-import, 'from __future__ import annotations']
2122
- repo: https://github.com/asottile/add-trailing-comma
2223
rev: v2.2.1
@@ -41,3 +42,4 @@ repos:
4142
hooks:
4243
- id: mypy
4344
additional_dependencies: [types-all]
45+
exclude: ^testing/resources/

testing/resources/python3_hooks_repo/py3_hook.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import annotations
2-
31
import sys
42

53

testing/resources/python3_hooks_repo/setup.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import annotations
2-
31
from setuptools import setup
42

53
setup(

0 commit comments

Comments
 (0)