add pyupgrade pre-commit hook

This commit is contained in:
David Lord 2020-01-28 23:02:14 -08:00
parent 8468d3a98f
commit 26d462a334
No known key found for this signature in database
GPG Key ID: 7A1C87E3F5BC42A8

View File

@ -1,4 +1,9 @@
repos:
- repo: https://github.com/asottile/pyupgrade
rev: v1.26.2
hooks:
- id: pyupgrade
args: ["--py36-plus"]
- repo: https://github.com/asottile/reorder_python_imports
rev: v1.9.0
hooks: