From 844db07c3fd201d76090ad6401ce4aa5ae491f18 Mon Sep 17 00:00:00 2001 From: Stefan van der Walt Date: Tue, 30 Apr 2024 17:32:46 -0700 Subject: [PATCH] Fix linting --- spin/cmds/meson.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/spin/cmds/meson.py b/spin/cmds/meson.py index a1ff7bf..70444ca 100644 --- a/spin/cmds/meson.py +++ b/spin/cmds/meson.py @@ -484,9 +484,7 @@ def test( cmd = ["pytest"] p = _run( - cmd - + ([f"--rootdir={site_path}"] if site_path else []) - + list(pytest_args), + cmd + ([f"--rootdir={site_path}"] if site_path else []) + list(pytest_args), cwd=site_path, replace=True, ) @@ -822,9 +820,9 @@ def docs(ctx, sphinx_target, clean, first_build, jobs, sphinx_gallery_plot): ) if site_path: - os.environ[ - "PYTHONPATH" - ] = f'{site_path}{os.sep}:{os.environ.get("PYTHONPATH", "")}' + os.environ["PYTHONPATH"] = ( + f'{site_path}{os.sep}:{os.environ.get("PYTHONPATH", "")}' + ) click.secho( f"$ export PYTHONPATH={os.environ['PYTHONPATH']}", bold=True,