Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Add flake8 configuration

Peter van der Does0dd871380ecc
diff --git a/setup.cfg b/setup.cfg
index 94d051cdf..cb9b5c022 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -5,3 +5,12 @@ universal = 1
exclude = urls.py,tasks.py,*migrations*,*bower_components*
max-line-length = 100
ignore = W503
+
+[flake8]
+exclude = extras, build, dist, node_modules, migrations, settings.py, docs
+ignore =
+ # H101: Use TODO(NAME)
+ H101,
+ # W503: line break before binary operator
+ W503
+max-line-length = 100