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 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