mirror of
https://github.com/borgbackup/borg.git
synced 2025-01-03 13:45:31 +00:00
add flake8 configuration (style checker)
currently adjusted in a way it does not throw errors and warnings with the source as it is now. issues will get fixed over time and the exclude list shall get shorter.
This commit is contained in:
parent
906ea629f6
commit
e1c7da1f53
1 changed files with 6 additions and 0 deletions
|
@ -1,2 +1,8 @@
|
||||||
[pytest]
|
[pytest]
|
||||||
python_files = testsuite/*.py
|
python_files = testsuite/*.py
|
||||||
|
|
||||||
|
[flake8]
|
||||||
|
ignore = E123,E126,E127,E129,E203,E221,E226,E231,E241,E265,E301,E302,E303,E713,F401,F403,W291,W293,W391
|
||||||
|
max-line-length = 250
|
||||||
|
exclude = versioneer.py,docs/conf.py,borg/_version.py
|
||||||
|
max-complexity = 100
|
||||||
|
|
Loading…
Reference in a new issue