Add pyupgrade as a pre-commit hook

This commit is contained in:
Hugo Osvaldo Barrera 2021-08-03 20:02:24 +02:00
parent a910e9f446
commit 48aa4912a2

View file

@ -22,6 +22,11 @@ repos:
hooks:
- id: isort
name: isort (python)
- repo: https://github.com/asottile/pyupgrade
rev: v2.23.3
hooks:
- id: pyupgrade
args: [--py37-plus]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v0.910"
hooks: