Skip to content

Commit 9ee8883

Browse files
committed
Add pyupgrade to .pre-commit-config.yaml
1 parent 426a542 commit 9ee8883

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ repos:
1414
language_version: python3.8
1515

1616
- repo: https://github.com/pycqa/flake8
17-
rev: 5.0.2
17+
rev: 5.0.3
1818
hooks:
1919
- id: flake8
2020
args:
@@ -45,3 +45,9 @@ repos:
4545
- id: yamllint
4646
args:
4747
- "--strict"
48+
49+
- repo: https://github.com/asottile/pyupgrade
50+
rev: v2.37.3
51+
hooks:
52+
- id: pyupgrade
53+
args: [--py37-plus]

0 commit comments

Comments
 (0)