Skip to content

Commit

Permalink
Use milc.subcommand.config instead of qmk.cli.config (#12915)
Browse files Browse the repository at this point in the history
* Use milc.subcommand.config instead

* pyformat

* remove the config test
  • Loading branch information
skullydazed authored May 16, 2021
1 parent 8761e97 commit de5c30a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 124 deletions.
3 changes: 1 addition & 2 deletions lib/python/qmk/cli/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
from milc import cli, __VERSION__
from milc.questions import yesno


import_names = {
# A mapping of package name to importable name
'pep8-naming': 'pep8ext_naming',
Expand Down Expand Up @@ -154,7 +153,7 @@ def _broken_module_imports(requirements):
from . import chibios # noqa
from . import clean # noqa
from . import compile # noqa
from . import config # noqa
from milc.subcommand import config # noqa
from . import console # noqa
from . import docs # noqa
from . import doctor # noqa
Expand Down
116 changes: 0 additions & 116 deletions lib/python/qmk/cli/config.py

This file was deleted.

6 changes: 0 additions & 6 deletions lib/python/qmk/tests/test_cli_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,6 @@ def test_flash_bootloaders():
check_returncode(result, [1])


def test_config():
result = check_subcommand('config')
check_returncode(result)
assert 'general.color' in result.stdout


def test_kle2json():
result = check_subcommand('kle2json', 'lib/python/qmk/tests/kle.txt', '-f')
check_returncode(result)
Expand Down

0 comments on commit de5c30a

Please sign in to comment.