Skip to content

Commit f74626c

Browse files
authored
Add pyupgrade pre-commit hook (#343)
1 parent e5fbe01 commit f74626c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.pre-commit-config.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ repos:
1010
- id: check-toml
1111
- id: end-of-file-fixer
1212
- id: trailing-whitespace
13+
- repo: https://github.com/asottile/pyupgrade
14+
rev: v2.23.1
15+
hooks:
16+
- id: pyupgrade
17+
args: [--py36-plus]
1318
- repo: https://github.com/psf/black
1419
rev: 21.7b0
1520
hooks:

0 commit comments

Comments
 (0)