From 8c7ef151b1123dbeecf668bcbac6a71c01626a1a Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 21 Sep 2026 18:18:16 +0000 Subject: [PATCH 1/2] [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.12 → v0.16.8](https://github.com/astral-sh/ruff-pre-commit/compare/v0.15.12...v0.16.8) - [github.com/crate-ci/typos: v1 → v1.50.2](https://github.com/crate-ci/typos/compare/v1...v1.50.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 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 From 6bae75cbaf8089f692738bf41d7887c5a3a2e00c Mon Sep 17 00:00:00 2001 From: Tobias Raabe Date: Tue, 22 Sep 2026 21:34:46 +0200 Subject: [PATCH 2/2] Fix maintenance lint and typing checks --- pyproject.toml | 1 + src/pytask_latex/collect.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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", (), {}))