Skip to content

Commit f71492d

Browse files
committed
Fix linting
1 parent bf036f4 commit f71492d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

spin/cmds/meson.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -422,9 +422,7 @@ def test(ctx, pytest_args, n_jobs, tests, verbose, coverage=False, gcov=False):
422422
cmd = ["pytest"]
423423

424424
_run(
425-
cmd
426-
+ ([f"--rootdir={site_path}"] if site_path else [])
427-
+ list(pytest_args),
425+
cmd + ([f"--rootdir={site_path}"] if site_path else []) + list(pytest_args),
428426
cwd=site_path,
429427
replace=True,
430428
)

0 commit comments

Comments
 (0)