chore: add flake8 pre-commit hook

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2178>
This commit is contained in:
jo 2022-11-19 16:38:51 +01:00 committed by Marge
commit 4fbef50d71
4 changed files with 16 additions and 24 deletions

View file

@ -1,8 +1,3 @@
[flake8]
max-line-length = 120
exclude = .tox,.git,*/migrations/*,*/static/CACHE/*,docs,node_modules,tests/data,tests/music/conftest.py
ignore = F405,W503,E203,E741
[isort]
skip_glob = .tox,.git,*/migrations/*,*/static/CACHE/*,docs,node_modules