kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
chore: add pyupgrade pre-commit hook
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2189>environments/review-docs-docs-detqeo/deployments/15752
rodzic
5e2df11fb6
commit
7768ea77a4
|
@ -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:
|
||||
|
|
Ładowanie…
Reference in New Issue