Browse Source

make flake8 happy

Zach White 5 years ago
parent
commit
7f398eea50
2 changed files with 1 additions and 5 deletions
  1. 1 2
      lib/python/qmk/cli/kle2json.py
  2. 0 3
      lib/python/qmk/converter.py

+ 1 - 2
lib/python/qmk/cli/kle2json.py

@@ -10,7 +10,6 @@ from kle2xy import KLE2xy
 
 import qmk.path
 from qmk.converter import kle2qmk
-from qmk.decorators import automagic_keyboard
 from qmk.info import info_json
 from qmk.info_json_encoder import InfoJSONEncoder
 
@@ -31,7 +30,7 @@ def fetch_url(url):
     """Fetch a URL.
     """
     response = requests.get(url, timeout=30)
-    response.encoding='utf-8-sig'
+    response.encoding = 'utf-8-sig'
 
     return response
 

+ 0 - 3
lib/python/qmk/converter.py

@@ -1,7 +1,5 @@
 """Functions to convert to and from QMK formats
 """
-from pprint import pprint
-
 from milc import cli
 
 
@@ -9,7 +7,6 @@ def kle2qmk(kle):
     """Convert a KLE layout to QMK's layout format.
     """
     layout = []
-    layout_alternatives = {}
     top_left_corner = None
 
     # Iterate through the KLE classifying keys by layout