1
0
Fork 0

CLI: Add development mode support

Hide development specific options and don't require dev modules unless
`user.developer` is set to `True`.
This commit is contained in:
Erovia 2019-11-27 21:27:06 +01:00 committed by skullydazed
parent ea7e40bae1
commit c61f016fa4
8 changed files with 302 additions and 25 deletions

View file

@ -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.
"""