Fix commandline parsing and flake8 findings, rebase
Fixed commandline and config parsing. Thx @xplusplus. Rebased on master and fixed merge conflicts.
This commit is contained in:
parent
988bfffca2
commit
8eeab1112a
5 changed files with 18 additions and 5 deletions
|
@ -5,6 +5,7 @@ import os
|
|||
|
||||
from qmk.errors import NoSuchKeyboardError
|
||||
|
||||
|
||||
def keymap(keyboard):
|
||||
"""Locate the correct directory for storing a keymap.
|
||||
|
||||
|
@ -33,6 +34,7 @@ def normpath(path):
|
|||
|
||||
return os.path.normpath(os.path.join(os.environ['ORIG_CWD'], path))
|
||||
|
||||
|
||||
def file_lines(filename):
|
||||
""" Return a files content, line by line
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue