Small CLI cleanups
* yapf changes * Fix the cformat test * Make the normpath test work when run from / * `qmk config`: Mark `--read-only` as arg_only
This commit is contained in:
1 parent
d1b6c11b7f
commit
79edb7c594
6 files changed
+4
-5
No files matched your search
@@ -10,4 +10,4 @@ def test_keymap_onekey_pytest():
|
||||
|
||||
def test_normpath():
|
||||
path = qmk.path.normpath('lib/python')
|
||||
assert path == os.environ['ORIG_CWD'] + '/lib/python'
|
||||
assert path == os.path.join(os.environ['ORIG_CWD'], 'lib/python')
|
||||
Reference in new issue
Block a user