summaryrefslogtreecommitdiffstats
path: root/python/.flake8
diff options
context:
space:
mode:
Diffstat (limited to 'python/.flake8')
-rw-r--r--python/.flake87
1 files changed, 7 insertions, 0 deletions
diff --git a/python/.flake8 b/python/.flake8
new file mode 100644
index 00000000..49935ced
--- /dev/null
+++ b/python/.flake8
@@ -0,0 +1,7 @@
+[flake8]
+# TODO: ANN for better annotation coverage
+select = C,E,F,W
+ignore = F405,F403,W503,E231,E203,E501,E226,E711,E713,E265,ANN101,ANN204,ANN102
+max-complexity = 20
+exclude = .git,__pycache__,.venv
+max-line-length = 120