From 9ffdd386000bc96591f476e6aad5b834c2b17da1 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 6 Oct 2025 19:41:42 +0000 Subject: [PATCH 1/2] 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.12.11 → v0.13.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.12.11...v0.13.3) - [github.com/asottile/blacken-docs: 1.19.1 → 1.20.0](https://github.com/asottile/blacken-docs/compare/1.19.1...1.20.0) - [github.com/pre-commit/mirrors-mypy: v1.17.1 → v1.18.2](https://github.com/pre-commit/mirrors-mypy/compare/v1.17.1...v1.18.2) - [github.com/RobertCraigie/pyright-python: v1.1.404 → v1.1.406](https://github.com/RobertCraigie/pyright-python/compare/v1.1.404...v1.1.406) --- .pre-commit-config.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4525f225..deda9abd 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,7 +10,7 @@ default_language_version: python: python3 repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.12.11 + rev: v0.13.3 hooks: - id: ruff args: [--fix] @@ -26,7 +26,7 @@ repos: hooks: - id: pyupgrade - repo: https://github.com/asottile/blacken-docs - rev: 1.19.1 + rev: 1.20.0 hooks: - id: blacken-docs additional_dependencies: [black] @@ -39,7 +39,7 @@ repos: - id: rst-directive-colons - id: rst-inline-touching-normal - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.17.1 + rev: v1.18.2 hooks: - id: mypy files: lobsterpy/.* @@ -55,6 +55,6 @@ repos: args: [--ignore-words-list, 'titel,alls,ans,nd,mater,nwo,te,hart,ontop,ist,ot,fo'] types_or: [python, rst, markdown] - repo: https://github.com/RobertCraigie/pyright-python - rev: v1.1.404 + rev: v1.1.406 hooks: - id: pyright From f6b2fa6f3920d5985348a0522c5a6773c3206172 Mon Sep 17 00:00:00 2001 From: Aakash Ashok Naik <91958822+naik-aakash@users.noreply.github.com> Date: Tue, 7 Oct 2025 18:08:42 +0000 Subject: [PATCH 2/2] fix ruff linit --- tests/plotting/test_plotting.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/plotting/test_plotting.py b/tests/plotting/test_plotting.py index c5eebabc..eef08f57 100644 --- a/tests/plotting/test_plotting.py +++ b/tests/plotting/test_plotting.py @@ -553,9 +553,9 @@ def test_plot_data(self, icohplist_nacl, icobilist_nacl, icooplist_nacl): ax_icoop_c = icoop_plotter.get_plot(xlim=(0, 4), ylim=(0, 6), color_interactions=True).gca() ax_icohp_c = icohp_plotter.get_plot(xlim=(0, 4), ylim=(0, 6), color_interactions=True).gca() ax_icobi_c = icobi_plotter.get_plot(xlim=(0, 4), ylim=(0, 6), color_interactions=True).gca() - handles_icoop, labels_icoop = ax_icoop_c.get_legend_handles_labels() - handles_icohp, labels_icohp = ax_icohp_c.get_legend_handles_labels() - handles_icobi, labels_icobi = ax_icobi_c.get_legend_handles_labels() + _handles_icoop, labels_icoop = ax_icoop_c.get_legend_handles_labels() + _handles_icohp, labels_icohp = ax_icohp_c.get_legend_handles_labels() + _handles_icobi, labels_icobi = ax_icobi_c.get_legend_handles_labels() assert len(set(labels_icoop)) == 3 assert len(set(labels_icobi)) == 3 assert len(set(labels_icohp)) == 3