diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a2c1427..b22c5ff 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/psf/black-pre-commit-mirror - rev: 25.12.0 + rev: 26.1.0 hooks: - id: black args: [--line-length=99, --safe] diff --git a/attune/__version__.py b/attune/__version__.py index 5731bf0..d409abe 100644 --- a/attune/__version__.py +++ b/attune/__version__.py @@ -6,7 +6,6 @@ import pathlib import os - # ---- define ------------------------------------------------------------------------------------- diff --git a/attune/_holistic.py b/attune/_holistic.py index f8e5796..31ae5fb 100644 --- a/attune/_holistic.py +++ b/attune/_holistic.py @@ -11,7 +11,6 @@ from ._plot import plot_holistic from ._common import save - __all__ = ["holistic"] diff --git a/attune/_intensity.py b/attune/_intensity.py index 429cc5e..7398872 100644 --- a/attune/_intensity.py +++ b/attune/_intensity.py @@ -11,7 +11,6 @@ from ._plot import plot_intensity from ._common import save - # --- processing methods -------------------------------------------------------------------------- __all__ = ["intensity"] diff --git a/attune/_setpoint.py b/attune/_setpoint.py index 3f4dcd7..b29df7b 100644 --- a/attune/_setpoint.py +++ b/attune/_setpoint.py @@ -11,7 +11,6 @@ from ._plot import plot_setpoint from ._common import save - # --- processing methods -------------------------------------------------------------------------- __all__ = ["setpoint"] diff --git a/attune/_transition.py b/attune/_transition.py index e455640..e08e711 100644 --- a/attune/_transition.py +++ b/attune/_transition.py @@ -3,7 +3,6 @@ from enum import Enum from typing import Any, Optional, Dict, TYPE_CHECKING - if TYPE_CHECKING: import WrightTools as wt diff --git a/docs/conf.py b/docs/conf.py index 848c3f1..fd7caff 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -23,7 +23,6 @@ import sphinx_gallery import math - # --- define ------------------------------------------------------------------------------------- diff --git a/tests/Curve/read/2018-08-14/bugse.py b/tests/Curve/read/2018-08-14/bugse.py index ad4f8cd..7f06d52 100644 --- a/tests/Curve/read/2018-08-14/bugse.py +++ b/tests/Curve/read/2018-08-14/bugse.py @@ -7,7 +7,6 @@ import attune - __here__ = pathlib.Path(__file__).parent diff --git a/tests/Curve/read/2019-02-08/lsizp.py b/tests/Curve/read/2019-02-08/lsizp.py index ad4f8cd..7f06d52 100644 --- a/tests/Curve/read/2019-02-08/lsizp.py +++ b/tests/Curve/read/2019-02-08/lsizp.py @@ -7,7 +7,6 @@ import attune - __here__ = pathlib.Path(__file__).parent diff --git a/tests/Curve/read/2019-02-12/yxciu.py b/tests/Curve/read/2019-02-12/yxciu.py index 5c6eaef..7258192 100644 --- a/tests/Curve/read/2019-02-12/yxciu.py +++ b/tests/Curve/read/2019-02-12/yxciu.py @@ -7,7 +7,6 @@ import attune - __here__ = pathlib.Path(__file__).parent diff --git a/tests/TopasCurve/add/xkloo.py b/tests/TopasCurve/add/xkloo.py index 7d84279..c3c4a01 100644 --- a/tests/TopasCurve/add/xkloo.py +++ b/tests/TopasCurve/add/xkloo.py @@ -3,7 +3,6 @@ import attune import numpy as np - __here__ = pathlib.Path(__file__).parent diff --git a/tests/TopasCurve/read/2018-10-26/niuce.py b/tests/TopasCurve/read/2018-10-26/niuce.py index 4f5f4df..6d91bfb 100644 --- a/tests/TopasCurve/read/2018-10-26/niuce.py +++ b/tests/TopasCurve/read/2018-10-26/niuce.py @@ -4,7 +4,6 @@ import tempfile import numpy as np - __here__ = pathlib.Path(__file__).parent diff --git a/tests/workup/intensity/test_intensity.py b/tests/workup/intensity/test_intensity.py index 74645d7..009621c 100644 --- a/tests/workup/intensity/test_intensity.py +++ b/tests/workup/intensity/test_intensity.py @@ -4,7 +4,6 @@ import numpy as np import WrightTools as wt - __here__ = pathlib.Path(__file__).parent diff --git a/tests/workup/setpoint/test_setpoint.py b/tests/workup/setpoint/test_setpoint.py index d68a1cf..cb72c5e 100644 --- a/tests/workup/setpoint/test_setpoint.py +++ b/tests/workup/setpoint/test_setpoint.py @@ -4,7 +4,6 @@ import matplotlib.pyplot as plt - __here__ = pathlib.Path(__file__).parent diff --git a/tests/workup/tune_test/test_tune_test.py b/tests/workup/tune_test/test_tune_test.py index 5ea5d01..7cc629a 100644 --- a/tests/workup/tune_test/test_tune_test.py +++ b/tests/workup/tune_test/test_tune_test.py @@ -3,7 +3,6 @@ import numpy as np import pathlib - __here__ = pathlib.Path(__file__).parent