Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 2, 2024
1 parent 0fbf36d commit cbbc912
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
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

0 comments on commit cbbc912

Please sign in to comment.