make flake8 happy

This commit is contained in:
Zach White 2021-01-03 17:31:46 -08:00
parent df85940a47
commit 7f398eea50
2 changed files with 1 additions and 5 deletions

View file

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

View file

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