fix pre-commit issues

This commit is contained in:
Anthony Sottile
2022-03-25 14:31:33 -04:00
parent 97419b34de
commit 3b98040623
3 changed files with 2 additions and 4 deletions

View File

@@ -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
@@ -41,3 +42,4 @@ repos:
hooks:
- id: mypy
additional_dependencies: [types-all]
exclude: ^testing/resources/

View File

@@ -1,5 +1,3 @@
from __future__ import annotations
import sys

View File

@@ -1,5 +1,3 @@
from __future__ import annotations
from setuptools import setup
setup(