Fix qmk cli isues'

This commit is contained in:
Drashna Jael're
2022-01-21 11:18:09 -08:00
parent 00d0bd6c61
commit 0ebd0de6f6
41 changed files with 160 additions and 959 deletions

View File

@@ -12,7 +12,8 @@ from milc import cli
def pytest(cli):
"""Run several linting/testing commands.
"""
nose2 = cli.run(['nose2', '-v', '-t' 'lib/python', *cli.args.test], capture_output=False, stdin=DEVNULL)
nose2 = cli.run(['nose2', '-v', '-t'
'lib/python', *cli.args.test], capture_output=False, stdin=DEVNULL)
flake8 = cli.run(['flake8', 'lib/python'], capture_output=False, stdin=DEVNULL)
return flake8.returncode | nose2.returncode