chore: add pyupgrade pre-commit hook

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2189>
environments/review-docs-docs-detqeo/deployments/15752
jo 2022-11-19 17:00:33 +01:00 zatwierdzone przez Marge
rodzic 5e2df11fb6
commit 7768ea77a4
1 zmienionych plików z 7 dodań i 0 usunięć

Wyświetl plik

@ -24,6 +24,13 @@ repos:
- id: mixed-line-ending
- id: trailing-whitespace
- repo: https://github.com/asottile/pyupgrade
rev: v3.2.2
hooks:
- id: pyupgrade
args: [--py37-plus]
exclude: ^(api/.*/migrations/.*)
- repo: https://github.com/psf/black
rev: 22.10.0
hooks: