diff options
author | skullY <skullydazed@gmail.com> | 2019-11-23 10:42:39 -0800 |
---|---|---|
committer | skullydazed <skullydazed@users.noreply.github.com> | 2019-12-01 13:40:14 -0800 |
commit | 0ed492978aea83205b73127472c3667c601d515b (patch) | |
tree | 181720a026d1d1e293845469e135e4b416baae67 /lib/python/qmk | |
parent | a2c6257942275eb874f79527e1ff13410bc42fb6 (diff) | |
download | qmk_firmware-0ed492978aea83205b73127472c3667c601d515b.tar.gz |
Add pep8-naming to our python linting
Diffstat (limited to 'lib/python/qmk')
-rwxr-xr-x | lib/python/qmk/cli/doctor.py | 2 | ||||
-rw-r--r-- | lib/python/qmk/tests/test_qmk_errors.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/qmk/cli/doctor.py b/lib/python/qmk/cli/doctor.py index 1010eafb3..2421e520e 100755 --- a/lib/python/qmk/cli/doctor.py +++ b/lib/python/qmk/cli/doctor.py @@ -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.") diff --git a/lib/python/qmk/tests/test_qmk_errors.py b/lib/python/qmk/tests/test_qmk_errors.py index 1d8690b7e..948e7ef74 100644 --- a/lib/python/qmk/tests/test_qmk_errors.py +++ b/lib/python/qmk/tests/test_qmk_errors.py @@ -1,7 +1,7 @@ from qmk.errors import NoSuchKeyboardError -def test_NoSuchKeyboardError(): +def test_nosuchkeyboarderror(): try: raise NoSuchKeyboardError("test message") except NoSuchKeyboardError as e: |