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:
skullydazed
2019-11-20 14:54:18 -08:00
committed by Florian Didron
parent 4dc4b7af75
commit dfa3631a44
14 changed files with 93 additions and 85 deletions

View File

@@ -1,12 +1,8 @@
"""Functions that help you work with QMK keymaps.
"""
import json
import logging
import os
from traceback import format_exc
import qmk.path
from qmk.errors import NoSuchKeyboardError
# The `keymap.c` template to use when a keyboard doesn't have its own
DEFAULT_KEYMAP_C = """#include QMK_KEYBOARD_H