Skip to content

Commit 31d0876

Browse files
run pre-commit
1 parent 81128fa commit 31d0876

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

tests/tasks/_validation.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,13 @@
2121
def validate_schema(*, path: str, type: str):
2222
if __OME_NGFF_VERSION__ != "0.4":
2323
raise ValueError(
24-
"This test is only valid for OME-NGFF version 0.4, please update the test."
24+
"This test is only valid for OME-NGFF version 0.4, "
25+
"please update the test."
2526
)
2627
file_path = pooch.retrieve(
2728
url=(
28-
f"https://raw.githubusercontent.com/ome/ngff/7ac3430c74a66e5bcf53e41c429143172d68c0a4/schemas/{type}.schema"
29+
"https://raw.githubusercontent.com/ome/ngff/"
30+
f"7ac3430c74a66e5bcf53e41c429143172d68c0a4/schemas/{type}.schema"
2931
),
3032
known_hash=None,
3133
)

tests/test_unit_channels.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,14 +126,16 @@ def test_get_channel_from_list(testdata_path: Path):
126126

127127
@pytest.fixture(scope="session")
128128
def omero_channel_schema():
129-
129+
130130
if __OME_NGFF_VERSION__ != "0.4":
131131
raise ValueError(
132-
"This test is only valid for OME-NGFF version 0.4, please update the test."
132+
"This test is only valid for OME-NGFF version 0.4, "
133+
"please update the test."
133134
)
134135
file_path = pooch.retrieve(
135136
url=(
136-
"https://raw.githubusercontent.com/ome/ngff/7ac3430c74a66e5bcf53e41c429143172d68c0a4/schemas/image.schema"
137+
"https://raw.githubusercontent.com/ome/ngff/"
138+
"7ac3430c74a66e5bcf53e41c429143172d68c0a4/schemas/image.schema"
137139
),
138140
known_hash=None,
139141
)

0 commit comments

Comments
 (0)