Switch black and pyupgrade in pre-commit config
With this, the style can be fixed in one run by both tools.
# pre-commit install -t pre-commit -t pre-push
repos:
- - repo: https://github.com/psf/black
- rev: 21.5b2
- hooks:
- - id: black
- repo: https://github.com/asottile/pyupgrade
rev: v2.19.0
hooks:
- id: pyupgrade
+ - repo: https://github.com/psf/black
+ rev: 21.5b2
+ hooks:
+ - id: black
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.3.0
hooks:
