Add pep8-naming to our python linting
This commit is contained in:
@ -39,7 +39,7 @@ def doctor(cli):
|
||||
ok = False
|
||||
|
||||
# Determine our OS and run platform specific tests
|
||||
OS = platform.system()
|
||||
OS = platform.system() # noqa (N806), uppercase name is ok in this instance
|
||||
|
||||
if OS == "Darwin":
|
||||
cli.log.info("Detected {fg_cyan}macOS.")
|
||||
|
@ -1,7 +1,7 @@
|
||||
from qmk.errors import NoSuchKeyboardError
|
||||
|
||||
|
||||
def test_NoSuchKeyboardError():
|
||||
def test_nosuchkeyboarderror():
|
||||
try:
|
||||
raise NoSuchKeyboardError("test message")
|
||||
except NoSuchKeyboardError as e:
|
||||
|
Reference in New Issue
Block a user