Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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]
Expand All @@ -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/.*
Expand All @@ -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
6 changes: 3 additions & 3 deletions tests/plotting/test_plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading