Skip to content

Commit 1985a85

Browse files
🤖 pre-commit auto fixes [...]
1 parent a9c6d8d commit 1985a85

File tree

12 files changed

+38
-23
lines changed

12 files changed

+38
-23
lines changed

.github/ISSUE_TEMPLATE/bug-report.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ If applicable, add screenshots to help explain your problem.
2727

2828
**Desktop (please complete the following information):**
2929

30-
- OS: \[e.g. Ubuntu\]
31-
- Hardware \[e.g. 8GB RAM\]
32-
- Version \[e.g. 1.0.0\]
30+
- OS: [e.g. Ubuntu]
31+
- Hardware [e.g. 8GB RAM]
32+
- Version [e.g. 1.0.0]
3333

3434
**Additional context**
3535
Add any other context about the problem here.

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ assignees: John-P
99
______________________________________________________________________
1010

1111
**Is your feature request related to a problem? Please describe.**
12-
A clear and concise description of what the problem is. Ex. I'm always frustrated when \[...\]
12+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
1313

1414
**Describe the solution you'd like**
1515
A clear and concise description of what you want to happen.

tests/enums/test_color_space.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Tests for the color space enum."""
2+
23
import pytest
34

45
import wsic

tests/test_wsic.py

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Tests for `wsic` package."""
2+
23
import sys
34
import warnings
45
from pathlib import Path
@@ -1230,12 +1231,14 @@ def test_convert(
12301231
out_path,
12311232
shape=reader.shape,
12321233
codec=codec,
1233-
compression_level=4
1234-
if codec
1235-
in {
1236-
"blosc",
1237-
}
1238-
else 100,
1234+
compression_level=(
1235+
4
1236+
if codec
1237+
in {
1238+
"blosc",
1239+
}
1240+
else 100
1241+
),
12391242
)
12401243
writer.copy_from_reader(
12411244
reader,

wsic/cli.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Console script for wsic."""
2+
23
import sys
34
from contextlib import suppress
45
from pathlib import Path

wsic/enums.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Enumerated types used by wsic."""
2+
23
from enum import Enum
34
from numbers import Number
45
from typing import Any, Dict, Optional, Tuple

wsic/magic.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Detect file type by searching for signatures (magic numbers)."""
2+
23
import mmap
34
import re
45
from dataclasses import dataclass

wsic/metadata/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Metadata parsing and generation."""
2+
23
from . import ngff
34

45
__all__ = ["ngff"]

wsic/metadata/ngff.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
Based on version 0.4 of the specification:
44
https://ngff.openmicroscopy.org/0.4/
55
"""
6+
67
import sys
78
from dataclasses import dataclass, field
89
from numbers import Number

wsic/typedefs.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Type definitions for wsic."""
2+
23
import re
34
from pathlib import Path
45
from typing import Union

0 commit comments

Comments
 (0)