Add flake8 to our test suite and fix all errors (#7379)
* Add flake8 to our test suite and fix all errors * Add some documentation
This commit is contained in:
parent
d2115f7d1c
commit
f7bdc54c69
15 changed files with 125 additions and 85 deletions
|
@ -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']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue