From b83525324600a8debf82ab5938b7fcf7b027d16a Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 5 Oct 2026 19:12:37 +0000 Subject: [PATCH 1/3] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.15.17 → v0.16.10](https://github.com/astral-sh/ruff-pre-commit/compare/v0.15.17...v0.16.10) - [github.com/crate-ci/typos: v1 → typos-dict-v0.14.2](https://github.com/crate-ci/typos/compare/v1...typos-dict-v0.14.2) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 184e1ae..6403dc6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -26,7 +26,7 @@ repos: - id: python-use-type-annotations - id: text-unicode-replacement-char - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.17 + rev: v0.16.10 hooks: - id: ruff-check - id: ruff-format @@ -44,7 +44,7 @@ repos: ] args: [--wrap, "88"] - repo: https://github.com/crate-ci/typos - rev: v1 + rev: typos-dict-v0.14.2 hooks: - id: typos - repo: meta From 96244188a98759775cf9c2088c9af2d18f7b3e47 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 5 Oct 2026 19:27:09 +0000 Subject: [PATCH 2/3] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/pytask_julia/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pytask_julia/config.py b/src/pytask_julia/config.py index af8f47d..f5edf8c 100644 --- a/src/pytask_julia/config.py +++ b/src/pytask_julia/config.py @@ -34,7 +34,7 @@ def pytask_parse_config(config: dict[str, Any]) -> None: config["julia_project"] = parse_relative_path(project, config["root"]) -def _parse_value_or_whitespace_option(value: Any) -> None | list[str]: +def _parse_value_or_whitespace_option(value: Any) -> list[str] | None: """Parse option which can hold a single value or values separated by new lines.""" if value is None: return None From ec1f718579f48d31d03679dba7da35b137437b10 Mon Sep 17 00:00:00 2001 From: Tobias Raabe Date: Sun, 11 Oct 2026 13:53:33 +0200 Subject: [PATCH 3/3] Ignore copyright headers and exempt parametrized tests from argument limits --- pyproject.toml | 1 + tests/test_collect.py | 2 +- tests/test_execute.py | 6 +++--- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 7474bcd..414ab9b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -67,6 +67,7 @@ unsafe-fixes = true [tool.ruff.lint] extend-ignore = [ + "CPY001", # Copyright headers are not required. "ANN401", # flake8-annotate typing.Any "COM812", # Comply with ruff-format. "ISC001", # Comply with ruff-format. diff --git a/tests/test_collect.py b/tests/test_collect.py index 352b08a..53a0b65 100644 --- a/tests/test_collect.py +++ b/tests/test_collect.py @@ -70,7 +70,7 @@ ), ], ) -def test_parse_julia_mark( # noqa: PLR0913 +def test_parse_julia_mark( # noqa: PLR0913, PLR0917 mark, default_options, default_serializer, diff --git a/tests/test_execute.py b/tests/test_execute.py index 11dc987..4eae458 100644 --- a/tests/test_execute.py +++ b/tests/test_execute.py @@ -42,7 +42,7 @@ def test_pytask_execute_task_setup_missing_julia(monkeypatch): "depends_on", ['Path("in_1.txt")', '[Path("in_1.txt"), Path("in_2.txt")]'], ) -def test_run_jl_script( # noqa: PLR0913 +def test_run_jl_script( # noqa: PLR0913, PLR0917 runner, tmp_path, parse_config_code, @@ -214,7 +214,7 @@ def task_run_jl_script(produces=Path("out.txt")): @needs_julia @pytest.mark.parametrize("n_threads", [2, 3]) @parametrize_parse_code_serializer_suffix -def test_check_passing_cmd_line_options( # noqa: PLR0913 +def test_check_passing_cmd_line_options( # noqa: PLR0913, PLR0917 runner, tmp_path, n_threads, @@ -258,7 +258,7 @@ def task_run_jl_script(produces=Path("out.txt")): ) @parametrize_parse_code_serializer_suffix @pytest.mark.parametrize("path", [ROOT, "relative_from_config"]) -def test_run_jl_script_w_environment_in_config( # noqa: PLR0913 +def test_run_jl_script_w_environment_in_config( # noqa: PLR0913, PLR0917 runner, tmp_path, parse_config_code,