Skip to content

Commit 4abf724

Browse files
authored
chore: use python 3.7+ syntax for action_helper.py (#633)
1 parent b6cfd39 commit 4abf724

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/action_helper.py

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

35

.pre-commit-config.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,12 @@ repos:
2929
hooks:
3030
- id: isort
3131
args: ["-a", "from __future__ import annotations"]
32-
exclude: ^.github/action_helper.py$
3332

3433
- repo: https://github.com/asottile/pyupgrade
3534
rev: v2.32.0
3635
hooks:
3736
- id: pyupgrade
3837
args: [--py37-plus]
39-
exclude: ^.github/action_helper.py$
4038

4139
- repo: https://github.com/tox-dev/pyproject-fmt
4240
rev: "0.3.3"

0 commit comments

Comments
 (0)