Skip to content

Commit 48aa491

Browse files
author
Hugo Osvaldo Barrera
committed
Add pyupgrade as a pre-commit hook
1 parent a910e9f commit 48aa491

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
@@ -22,6 +22,11 @@ repos:
2222
hooks:
2323
- id: isort
2424
name: isort (python)
25+
- repo: https://github.com/asottile/pyupgrade
26+
rev: v2.23.3
27+
hooks:
28+
- id: pyupgrade
29+
args: [--py37-plus]
2530
- repo: https://github.com/pre-commit/mirrors-mypy
2631
rev: "v0.910"
2732
hooks:

0 commit comments

Comments
 (0)