Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): pre-commit.ci autoupdate #541

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ repos:

- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.7.4
rev: v0.8.6
hooks:
# Run the linter.
- id: ruff
Expand All @@ -27,7 +27,7 @@ repos:
- id: ruff-format

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.13.0
rev: v1.14.1
hooks:
- id: mypy
files: src
Expand Down
2 changes: 1 addition & 1 deletion src/mplhep/_deprecate.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ class deprecated_dict(dict):
"""

__slots__ = (
"message",
"_already_warned",
"_warn_once",
"_warning",
"message",
) # no __dict__ - would be redundant

def __init__(
Expand Down
2 changes: 1 addition & 1 deletion src/mplhep/alice.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# Log styles
from .styles import alice as style

__all__ = ("style", "lumitext")
__all__ = ("lumitext", "style")


@docstring.copy(label_base.exp_text)
Expand Down
2 changes: 1 addition & 1 deletion src/mplhep/atlas.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# Log styles
from .styles import atlas as style

__all__ = ("style", "lumitext")
__all__ = ("lumitext", "style")


@docstring.copy(label_base.exp_text)
Expand Down
2 changes: 1 addition & 1 deletion src/mplhep/cms.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

# import mplhep._deprecate as deprecate

__all__ = ("style", "lumitext")
__all__ = ("lumitext", "style")


@docstring.copy(label_base.exp_text)
Expand Down
2 changes: 1 addition & 1 deletion src/mplhep/lhcb.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
from .label import lumitext
from .styles import lhcb as style

__all__ = ("style", "lumitext", "label", "text")
__all__ = ("label", "lumitext", "style", "text")


@docstring.copy(label_base.exp_text)
Expand Down
14 changes: 7 additions & 7 deletions src/mplhep/styles/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,24 @@
__all__ = (
"ALICE",
"ATLAS",
"ATLASAlt",
"ATLASTex",
"CMS",
"PLOTHIST",
"ROOT",
"ATLASAlt",
"ATLASTex",
"CMSTex",
"ROOTTex",
"LHCb",
"LHCb1",
"LHCb2",
"LHCbTex",
"LHCbTex1",
"LHCbTex2",
"PLOTHIST",
"set_style",
"use",
"ROOTTex",
"fabiola",
"fira",
"firamath",
"fabiola",
"set_style",
"use",
)


Expand Down
Loading