Skip to content

Commit

Permalink
fix pre-commit issues
Browse files Browse the repository at this point in the history
  • Loading branch information
asottile committed Mar 25, 2022
1 parent 97419b3 commit 3b98040
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .pre-commit-config.yaml
Expand Up @@ -17,6 +17,7 @@ repos:
rev: v3.0.1
hooks:
- id: reorder-python-imports
exclude: ^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
Expand All @@ -41,3 +42,4 @@ repos:
hooks:
- id: mypy
additional_dependencies: [types-all]
exclude: ^testing/resources/
2 changes: 0 additions & 2 deletions testing/resources/python3_hooks_repo/py3_hook.py
@@ -1,5 +1,3 @@
from __future__ import annotations

import sys


Expand Down
2 changes: 0 additions & 2 deletions testing/resources/python3_hooks_repo/setup.py
@@ -1,5 +1,3 @@
from __future__ import annotations

from setuptools import setup

setup(
Expand Down

0 comments on commit 3b98040

Please sign in to comment.