Skip to content
This repository was archived by the owner on Jun 2, 2025. It is now read-only.

Commit d9a6295

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 05aab77 commit d9a6295

File tree

8 files changed

+18
-13
lines changed

8 files changed

+18
-13
lines changed

ocf_datapipes/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"""Datapipes"""
1+
"""Datapipes"""

ocf_datapipes/config/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"""Configuration model"""
1+
"""Configuration model"""

ocf_datapipes/fake/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"""Fake data generators for testing"""
1+
"""Fake data generators for testing"""

ocf_datapipes/production/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"""Wrappers to make complete data pipelines for production systems"""
1+
"""Wrappers to make complete data pipelines for production systems"""

ocf_datapipes/transform/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"""Transforms for the data in both xarray and numpy formats"""
1+
"""Transforms for the data in both xarray and numpy formats"""

ocf_datapipes/utils/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"""Various utilities for use in datapipes"""
1+
"""Various utilities for use in datapipes"""
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"""Datapipe to check statistical properties of inputs"""
1+
"""Datapipe to check statistical properties of inputs"""

tests/validation/test_check_vars_and_dims.py

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,26 @@ def test_check_vars_and_dims_gsp(gsp_dp):
55
gsp_dp = gsp_dp.check_vars_and_dims(expected_dimensions=("time_utc", "gsp_id"))
66
next(iter(gsp_dp))
77

8+
89
def test_check_vars_and_dims_sat(sat_dp):
9-
sat_dp = sat_dp.check_vars_and_dims(expected_dimensions=("time_utc", "channel", "x_geostationary", "y_geostationary"))
10+
sat_dp = sat_dp.check_vars_and_dims(
11+
expected_dimensions=("time_utc", "channel", "x_geostationary", "y_geostationary")
12+
)
1013
next(iter(sat_dp))
1114

15+
1216
def test_check_vars_and_dim_passiv(passiv_dp):
13-
passiv_dp = passiv_dp.check_vars_and_dims(
14-
expected_dimensions=("time_utc", "pv_system_id"))
17+
passiv_dp = passiv_dp.check_vars_and_dims(expected_dimensions=("time_utc", "pv_system_id"))
1518
next(iter(passiv_dp))
1619

20+
1721
def test_check_vars_and_dim_nwp(nwp_dp):
1822
nwp_dp = nwp_dp.check_vars_and_dims(
19-
expected_dimensions=("init_time_utc", "channel", "step", "x_osgb", "y_osgb"))
23+
expected_dimensions=("init_time_utc", "channel", "step", "x_osgb", "y_osgb")
24+
)
2025
next(iter(nwp_dp))
2126

27+
2228
def test_check_vars_and_dim_topo(topo_dp):
23-
topo_dp = topo_dp.check_vars_and_dims(
24-
expected_dimensions=("x_osgb", "y_osgb"))
29+
topo_dp = topo_dp.check_vars_and_dims(expected_dimensions=("x_osgb", "y_osgb"))
2530
next(iter(topo_dp))

0 commit comments

Comments
 (0)