Skip to content

Commit

Permalink
chore: use python 3.7+ syntax for action_helper.py (#633)
Browse files Browse the repository at this point in the history
  • Loading branch information
mayeut committed Jul 14, 2022
1 parent b6cfd39 commit 4abf724
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/action_helper.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

import sys


Expand Down
2 changes: 0 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 4abf724

Please sign in to comment.