diff options
Diffstat (limited to 'lib/python/qmk/cli/pytest.py')
| -rw-r--r-- | lib/python/qmk/cli/pytest.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/python/qmk/cli/pytest.py b/lib/python/qmk/cli/pytest.py index b7b17f0e9d..5c9c173caa 100644 --- a/lib/python/qmk/cli/pytest.py +++ b/lib/python/qmk/cli/pytest.py | |||
| @@ -12,8 +12,7 @@ from milc import cli | |||
| 12 | def pytest(cli): | 12 | def pytest(cli): |
| 13 | """Run several linting/testing commands. | 13 | """Run several linting/testing commands. |
| 14 | """ | 14 | """ |
| 15 | nose2 = cli.run(['nose2', '-v', '-t' | 15 | nose2 = cli.run(['nose2', '-v', '-t', 'lib/python', *cli.args.test], capture_output=False, stdin=DEVNULL) |
| 16 | 'lib/python', *cli.args.test], capture_output=False, stdin=DEVNULL) | ||
| 17 | flake8 = cli.run(['flake8', 'lib/python'], capture_output=False, stdin=DEVNULL) | 16 | flake8 = cli.run(['flake8', 'lib/python'], capture_output=False, stdin=DEVNULL) |
| 18 | 17 | ||
| 19 | return flake8.returncode | nose2.returncode | 18 | return flake8.returncode | nose2.returncode |
