From 4abf7244af424653f6eabb3baf504f2ccfc7e337 Mon Sep 17 00:00:00 2001 From: Matthieu Darbois Date: Thu, 14 Jul 2022 18:54:55 +0200 Subject: [PATCH] chore: use python 3.7+ syntax for action_helper.py (#633) --- .github/action_helper.py | 2 ++ .pre-commit-config.yaml | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) 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"