Skip to content

Commit 540c932

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 38cdb6e commit 540c932

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/pytask_julia/collect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def run_jl_script(
3434
project: list[str],
3535
) -> None:
3636
"""Run a Julia script."""
37-
cmd = ["julia"] + options + project + [_SEPARATOR, str(script), str(serialized)]
37+
cmd = ["julia", *options, *project] + [_SEPARATOR, str(script), str(serialized)]
3838
print("Executing " + " ".join(cmd) + ".") # noqa: T201
3939
subprocess.run(cmd, check=True)
4040

src/pytask_julia/parametrize.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@
1010
@hookimpl
1111
def pytask_parametrize_kwarg_to_marker(obj: Any, kwargs: dict[str, Any]) -> None:
1212
"""Attach parametrized Julia arguments to the function with a marker."""
13-
if callable(obj) and "julia" in kwargs: # noqa: PLR2004
13+
if callable(obj) and "julia" in kwargs:
1414
pytask.mark.julia(**kwargs.pop("julia"))(obj)

0 commit comments

Comments
 (0)