From 829ddc3fe3c07b69b104093453e759325997d156 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 16 Dec 2024 21:24:13 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/mplhep/_deprecate.py | 2 +- src/mplhep/alice.py | 2 +- src/mplhep/atlas.py | 2 +- src/mplhep/cms.py | 2 +- src/mplhep/lhcb.py | 2 +- src/mplhep/styles/__init__.py | 14 +++++++------- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/mplhep/_deprecate.py b/src/mplhep/_deprecate.py index 5562f854..0d2b1945 100644 --- a/src/mplhep/_deprecate.py +++ b/src/mplhep/_deprecate.py @@ -71,10 +71,10 @@ class deprecated_dict(dict): """ __slots__ = ( - "message", "_already_warned", "_warn_once", "_warning", + "message", ) # no __dict__ - would be redundant def __init__( diff --git a/src/mplhep/alice.py b/src/mplhep/alice.py index 912db6c1..ebb745db 100644 --- a/src/mplhep/alice.py +++ b/src/mplhep/alice.py @@ -11,7 +11,7 @@ # Log styles from .styles import alice as style -__all__ = ("style", "lumitext") +__all__ = ("lumitext", "style") @docstring.copy(label_base.exp_text) diff --git a/src/mplhep/atlas.py b/src/mplhep/atlas.py index 6a1f8b86..04cb14d8 100644 --- a/src/mplhep/atlas.py +++ b/src/mplhep/atlas.py @@ -13,7 +13,7 @@ # Log styles from .styles import atlas as style -__all__ = ("style", "lumitext") +__all__ = ("lumitext", "style") @docstring.copy(label_base.exp_text) diff --git a/src/mplhep/cms.py b/src/mplhep/cms.py index acd8cf3b..0973b990 100644 --- a/src/mplhep/cms.py +++ b/src/mplhep/cms.py @@ -13,7 +13,7 @@ # import mplhep._deprecate as deprecate -__all__ = ("style", "lumitext") +__all__ = ("lumitext", "style") @docstring.copy(label_base.exp_text) diff --git a/src/mplhep/lhcb.py b/src/mplhep/lhcb.py index 191f1242..6b980fd0 100644 --- a/src/mplhep/lhcb.py +++ b/src/mplhep/lhcb.py @@ -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) diff --git a/src/mplhep/styles/__init__.py b/src/mplhep/styles/__init__.py index 3fbb764c..2b97a2f3 100644 --- a/src/mplhep/styles/__init__.py +++ b/src/mplhep/styles/__init__.py @@ -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", )