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

11
.flake8 Normal file
View file

@ -0,0 +1,11 @@
# Use .flake8 file until pyproject.toml is supported
# See https://github.com/PyCQA/flake8/issues/234
[flake8]
max-line-length = 120
extend-exclude =
*/migrations/*
extend-ignore =
F405
W503
E203
E741