summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.flake818
-rw-r--r--.pylintrc11
2 files changed, 29 insertions, 0 deletions
diff --git a/.flake8 b/.flake8
new file mode 100644
index 0000000..07259cb
--- /dev/null
+++ b/.flake8
@@ -0,0 +1,18 @@
+[flake8]
+exclude =
+ .git,
+ __pycache__,
+ docs/source/conf.py
+
+ignore =
+ # 'something' imported but unused
+ F401,
+ # 'from module import *' used: unable to detect undefined names
+ F403,
+ # name may be undefined, or defined from star imports: module
+ F405,
+ # line break before binary operator
+ W503
+
+max-complexity = 18
+max-line-length = 100
diff --git a/.pylintrc b/.pylintrc
new file mode 100644
index 0000000..21c9276
--- /dev/null
+++ b/.pylintrc
@@ -0,0 +1,11 @@
+[MASTER]
+disable=
+ cyclic-import,
+ duplicate-code,
+ missing-docstring,
+ unused-argument,
+ unused-wildcard-import,
+ wildcard-import
+
+function-rgx=[a-z_][a-z0-9_]{2,90}$
+init-hook="import sys; sys.path.insert(0, './data/')"