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 authored and GitHub committed 2019-11-20 14:54:18 -08:00
1 parent d2115f7d1c
commit f7bdc54c69
15 files changed
+125 -85

No files matched your search

-4
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