aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/.flake86
-rw-r--r--python/.gitignore6
2 files changed, 12 insertions, 0 deletions
diff --git a/python/.flake8 b/python/.flake8
new file mode 100644
index 0000000..6aa37b6
--- /dev/null
+++ b/python/.flake8
@@ -0,0 +1,6 @@
+[flake8]
+select = C,E,F,W,ANN
+ignore = F405,F403,W503,E231,E203,E501,E226,E711,E713,ANN101,ANN204,ANN102
+max-complexity = 20
+exclude = .git,__pycache__,.venv
+max-line-length = 120
diff --git a/python/.gitignore b/python/.gitignore
index ba67eaf..ba76eda 100644
--- a/python/.gitignore
+++ b/python/.gitignore
@@ -2,3 +2,9 @@
*.tar.gz
*.gz
htmlcov/
+
+!.flake8
+!.gitlab-ci.yml
+!.pylintrc
+!.coveragerc
+!.gitignore