chore: add flake8 pre-commit hook
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2178>
This commit is contained in:
parent
af699c3303
commit
4fbef50d71
4 changed files with 16 additions and 24 deletions
11
.flake8
Normal file
11
.flake8
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue