From 62b6089660d90afb5b98250793af535381a59fd3 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 5 Jan 2026 22:10:59 +0000 Subject: [PATCH 1/2] chore: update pre-commit hooks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/pre-commit-hooks: v5.0.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v5.0.0...v6.0.0) - [github.com/astral-sh/ruff-pre-commit: v0.11.4 → v0.14.10](https://github.com/astral-sh/ruff-pre-commit/compare/v0.11.4...v0.14.10) --- .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 062da92..e0ea3ed 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,7 +5,7 @@ ci: repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: check-added-large-files - id: check-case-conflict @@ -25,7 +25,7 @@ repos: args: [--markdown-linebreak-ext=md] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.11.4 + rev: v0.14.10 hooks: # Run the linter. - id: ruff From 189a9bac07acdecb75e11bf0072fc410dc8d16d6 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 5 Jan 2026 22:11:08 +0000 Subject: [PATCH 2/2] style: pre-commit fixes --- examples/bilayer_hubbard.py | 2 +- tests/test_atomdiag.py | 2 +- tests/test_common.py | 2 +- tests/test_helpers.py | 2 +- tests/test_latticesolver.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/bilayer_hubbard.py b/examples/bilayer_hubbard.py index cb2e149..e9bda31 100644 --- a/examples/bilayer_hubbard.py +++ b/examples/bilayer_hubbard.py @@ -1,4 +1,4 @@ -# ruff: noqa: T201, D100, D103 +# ruff: noqa: T201, D100 import numpy as np from triqs.gf import MeshImFreq, MeshProduct diff --git a/tests/test_atomdiag.py b/tests/test_atomdiag.py index 424f212..9c0a51c 100644 --- a/tests/test_atomdiag.py +++ b/tests/test_atomdiag.py @@ -1,4 +1,4 @@ -# ruff: noqa: T201, D100, D103 +# ruff: noqa: D100, D103 from itertools import product import numpy as np diff --git a/tests/test_common.py b/tests/test_common.py index a92d6c6..eada285 100644 --- a/tests/test_common.py +++ b/tests/test_common.py @@ -1,4 +1,4 @@ -# ruff: noqa: T201, D100, D103 +# ruff: noqa: D100, D103 from itertools import product import numpy as np diff --git a/tests/test_helpers.py b/tests/test_helpers.py index 5812966..fd61386 100644 --- a/tests/test_helpers.py +++ b/tests/test_helpers.py @@ -1,4 +1,4 @@ -# ruff: noqa: T201, D100, D103 +# ruff: noqa: D100, D103 from pathlib import Path diff --git a/tests/test_latticesolver.py b/tests/test_latticesolver.py index c257478..ff0526c 100644 --- a/tests/test_latticesolver.py +++ b/tests/test_latticesolver.py @@ -1,4 +1,4 @@ -# ruff: noqa: T201, D100, D103 +# ruff: noqa: D100, D103 import numpy as np