Skip to content

Home Information - Your home, your data, organized.

Python

Added flake8 config file for continuous integration.

Anthony Cassandrafd6c4b295ba0
diff --git a/src/.flake8-ci b/src/.flake8-ci
new file mode 100644
index 00000000..03e7eb06
--- /dev/null
+++ b/src/.flake8-ci
@@ -0,0 +1,22 @@
+[flake8]
+max-line-length = 999
+
+# Things I disable:
+#
+# E129 - visually indented line with same indent as next logical line
+# D203 -
+# E201 - whitespace after brackets
+# E202 - whitespace before brackets
+# E203 -
+# E221 - multiple spaces before operator
+# E231 -
+# E251 - unexpeced whitespace around keyword parameters
+# W293 - blank line contains whitespace
+# W291 - white space at end of line
+# W391 - blank line at end of file
+# E501 - line too long
+# W503 - line break before binary operator
+
+ignore = E129,D203,E201,E202,E203,E221,E231,E251,W293,W291,W391,W503,E501
+
+exclude = hi/settings/*