diff options
author | Erovia <erovia@users.noreply.github.com> | 2019-11-27 21:27:06 +0100 |
---|---|---|
committer | skullydazed <skullydazed@users.noreply.github.com> | 2020-04-08 09:31:14 -0700 |
commit | c61f016fa491502920941fd03cdab6453d126e67 (patch) | |
tree | 1f8f6b4cbaf2b158604d47f01dc42fc69cac365a /lib/python/qmk/cli/pytest.py | |
parent | ea7e40bae17897fbc613e0965d076a7a25b14ea6 (diff) |
CLI: Add development mode support
Hide development specific options and don't require dev modules unless
`user.developer` is set to `True`.
Diffstat (limited to 'lib/python/qmk/cli/pytest.py')
-rw-r--r-- | lib/python/qmk/cli/pytest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/qmk/cli/pytest.py b/lib/python/qmk/cli/pytest.py index 09611d750f..5417a9cb34 100644 --- a/lib/python/qmk/cli/pytest.py +++ b/lib/python/qmk/cli/pytest.py @@ -7,7 +7,7 @@ import subprocess from milc import cli -@cli.subcommand('QMK Python Unit Tests') +@cli.subcommand('QMK Python Unit Tests', hidden=False if cli.config.user.developer else True) def pytest(cli): """Run several linting/testing commands. """ |