summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorskullydazed <skullydazed@users.noreply.github.com>2019-11-20 14:54:18 -0800
committerGitHub <noreply@github.com>2019-11-20 14:54:18 -0800
commitf7bdc54c697ff24bec1bd0781666ac05401bafb2 (patch)
tree704511c89bd36582fcd0a4a05ae4812222d9b11c /setup.cfg
parentd2115f7d1c3a314e997ec6800b6741d83115d6be (diff)
Add flake8 to our test suite and fix all errors (#7379)
* Add flake8 to our test suite and fix all errors * Add some documentation
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg9
1 files changed, 9 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg
index 528512ac6f..9e178ad659 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,4 +1,13 @@
# Python settings for QMK
+[flake8]
+ignore =
+ # QMK is ok with long lines.
+ E501
+per_file_ignores =
+ **/__init__.py:F401
+
+# Let's slowly crank this down
+max_complexity=16
[yapf]
# Align closing bracket with visual indentation.