Skip to content

Commit 41468dd

Browse files
authored
Merge pull request #94 from smkent/pyupgrade-keep-runtime-typing
Add --keep-runtime-typing to pyupgrade args
2 parents c83e9f4 + 82b8568 commit 41468dd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

{{cookiecutter.project_name}}/.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ repos:
4141
rev: v3.3.1
4242
hooks:
4343
- id: pyupgrade
44+
args: ["--keep-runtime-typing"]
4445
- repo: local
4546
hooks:
4647
- id: mypy

0 commit comments

Comments
 (0)