Skip to content

Commit 5fdc2f4

Browse files
committed
Add pyupgrade as commit hook
1 parent dd13a8d commit 5fdc2f4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,8 @@ repos:
77
name: nbqa-isort
88
alias: nbqa-isort
99
additional_dependencies: ['isort']
10+
- repo: https://github.com/asottile/pyupgrade
11+
rev: v2.7.2
12+
hooks:
13+
- id: pyupgrade
14+
args: ['--py36-plus']

0 commit comments

Comments
 (0)