Fix linting

This commit is contained in:
Josh Klar
2018-10-16 22:43:47 -07:00
parent e413392826
commit b92aceb682
4 changed files with 17 additions and 19 deletions

View File

@@ -17,16 +17,21 @@
# First, stuff that has no dependencies, or only C/MPY deps
import collections
import gc
import kmk.consts
import kmk.kmktime
import kmk.types
# Now stuff that depends on the above (and so on)
import kmk.keycodes
import kmk.matrix
import kmk.hid
import kmk.internal_state
# Now stuff that depends on the above (and so on)
import kmk.keycodes
import kmk.kmktime
import kmk.matrix
import kmk.types
from kmk.consts import LeaderMode, UnicodeModes
from kmk.hid import USB_HID
from kmk.internal_state import InternalState
from kmk.matrix import MatrixScanner
# GC runs automatically after CircuitPython imports. If we ever go back to
# supporting MicroPython, we'll need a GC here (and probably after each
@@ -34,12 +39,6 @@ import kmk.internal_state
# Thanks for sticking around. Now let's do real work, starting below
import gc
from kmk.consts import LeaderMode, UnicodeModes
from kmk.hid import USB_HID
from kmk.internal_state import InternalState
from kmk.matrix import MatrixScanner
class Firmware:
debug_enabled = False