Skip to content

Commit aac5b92

Browse files
authored
Merge pull request #1776 from Anselmoo/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents 41dc55f + b97cdbb commit aac5b92

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ repos:
1919
args: [--maxkb=1000]
2020
exclude: \.ipynb
2121
- repo: https://github.com/astral-sh/ruff-pre-commit
22-
rev: v0.8.6
22+
rev: v0.9.1
2323
hooks:
2424
- id: ruff
2525
files: spectrafit/

spectrafit/plugins/test/test_rixs_visualizer.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222

2323
@pytest.mark.skipif(sys.version_info < (3, 9), reason="Requires Python 3.9 or higher")
2424
@pytest.fixture(scope="module", autouse=True, name="test_data")
25-
def fixture_test_data() -> (
26-
Tuple[NDArray[np.float64], NDArray[np.float64], NDArray[np.float64]]
27-
):
25+
def fixture_test_data() -> Tuple[
26+
NDArray[np.float64], NDArray[np.float64], NDArray[np.float64]
27+
]:
2828
"""Test data."""
2929
space_x_y = np.arange(0, 10, 0.1, dtype=np.float64)
3030
space_x, space_y = np.meshgrid(space_x_y, space_x_y)

0 commit comments

Comments
 (0)