summaryrefslogtreecommitdiff
path: root/lib/python/kle2xy.py
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 /lib/python/kle2xy.py
parentd2115f7d1c3a314e997ec6800b6741d83115d6be (diff)
downloadqmk_firmware-f7bdc54c697ff24bec1bd0781666ac05401bafb2.tar.gz
qmk_firmware-f7bdc54c697ff24bec1bd0781666ac05401bafb2.zip
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 'lib/python/kle2xy.py')
-rw-r--r--lib/python/kle2xy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/kle2xy.py b/lib/python/kle2xy.py
index 9291443190..bff1d025b7 100644
--- a/lib/python/kle2xy.py
+++ b/lib/python/kle2xy.py
@@ -46,7 +46,7 @@ class KLE2xy(list):
if 'name' in properties:
self.name = properties['name']
- def parse_layout(self, layout):
+ def parse_layout(self, layout): # noqa FIXME(skullydazed): flake8 says this has a complexity of 25, it should be refactored.
# Wrap this in a dictionary so hjson will parse KLE raw data
layout = '{"layout": [' + layout + ']}'
layout = hjson.loads(layout)['layout']