Skip to content

Commit 9d4800f

Browse files
authored
🔨 added automatic syntax-upgrade hook ~ pyupgrade (#229)
1 parent 5a21d9e commit 9d4800f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

‎.pre-commit-config.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,11 @@ repos:
2222
types: [python]
2323
language: system
2424
pass_filenames: false
25+
26+
- repo: https://github.com/asottile/pyupgrade
27+
rev: v3.18.0
28+
hooks:
29+
- id: pyupgrade
30+
args:
31+
- --py3-plus
32+
- --keep-runtime-typing

0 commit comments

Comments
 (0)