diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 184e1ae..d42ab6c 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.3 hooks: - id: ruff-check - id: ruff-format 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