diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c3e21e9..d672ace 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -25,7 +25,7 @@ repos: - id: python-use-type-annotations - id: text-unicode-replacement-char - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.12 + rev: v0.16.8 hooks: - id: ruff-check - id: ruff-format @@ -39,7 +39,7 @@ repos: ] args: [--wrap, "88"] - repo: https://github.com/crate-ci/typos - rev: v1 + rev: v1.50.2 hooks: - id: typos - repo: meta diff --git a/pyproject.toml b/pyproject.toml index 156bd26..14c8222 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -65,6 +65,7 @@ unsafe-fixes = true extend-ignore = [ "ANN401", # Allow typing.Any. "COM812", # Comply with ruff-format + "CPY001", # Copyright notices are not required. "ISC001", # Comply with ruff-format ] select = ["ALL"] diff --git a/src/pytask_latex/collect.py b/src/pytask_latex/collect.py index a0ec8e9..22a6c3e 100644 --- a/src/pytask_latex/collect.py +++ b/src/pytask_latex/collect.py @@ -300,7 +300,7 @@ def _add_latex_dependencies_retroactively( ), new_deps, # ty: ignore[invalid-argument-type] ) - task.depends_on["_scanned_dependencies"] = collected_dependencies + task.depends_on["_scanned_dependencies"] = collected_dependencies # ty: ignore[invalid-assignment] # Mark the task as being delayed to avoid conflicts with unmatched dependencies. task.markers.append(Mark("try_last", (), {}))