diff --git a/.github/action_helper.py b/.github/action_helper.py index 569d10bc..bf467942 100644 --- a/.github/action_helper.py +++ b/.github/action_helper.py @@ -1,3 +1,5 @@ +from __future__ import annotations + import sys diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7a8e3d8d..a4b5bd93 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -29,14 +29,12 @@ repos: hooks: - id: isort args: ["-a", "from __future__ import annotations"] - exclude: ^.github/action_helper.py$ - repo: https://github.com/asottile/pyupgrade rev: v2.32.0 hooks: - id: pyupgrade args: [--py37-plus] - exclude: ^.github/action_helper.py$ - repo: https://github.com/tox-dev/pyproject-fmt rev: "0.3.3"