diff options
author | skullydazed <skullydazed@users.noreply.github.com> | 2019-11-20 14:54:18 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-20 14:54:18 -0800 |
commit | f7bdc54c697ff24bec1bd0781666ac05401bafb2 (patch) | |
tree | 704511c89bd36582fcd0a4a05ae4812222d9b11c /lib/python/kle2xy.py | |
parent | d2115f7d1c3a314e997ec6800b6741d83115d6be (diff) | |
download | qmk_firmware-f7bdc54c697ff24bec1bd0781666ac05401bafb2.tar.gz |
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.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/kle2xy.py b/lib/python/kle2xy.py index 929144319..bff1d025b 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'] |