Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 18, 2024
1 parent 74104bd commit 19cdb9d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions tiatoolbox/wsicore/metadata/ngff.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class CoordinateTransform:
"""

type: str = "identity" # noqa: A003
type: str = "identity"
scale: list[float] | None = None


Expand Down Expand Up @@ -140,7 +140,7 @@ class Axis:
"""

name: TCZYX
type: Literal["time", "space", "channel"] # noqa: A003
type: Literal["time", "space", "channel"]
unit: SpaceUnits | TimeUnits | None = None


Expand Down Expand Up @@ -186,8 +186,8 @@ class Window:
"""

end: Number = 255
max: Number = 255 # noqa: A003
min: Number = 0 # noqa: A003
max: Number = 255
min: Number = 0
start: Number = 0


Expand Down Expand Up @@ -257,7 +257,7 @@ class Omero:
"""

name: str | None = None
id: int = 1 # noqa: A003
id: int = 1
channels: list = field(
default_factory=lambda: [
Channel(label="Red", color="FF0000"),
Expand Down
2 changes: 1 addition & 1 deletion tiatoolbox/wsicore/wsireader.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ class WSIReader:
"""

@staticmethod
def open( # noqa: A003, PLR0911
def open( # noqa: PLR0911
input_img: str | Path | np.ndarray | WSIReader,
mpp: tuple[Number, Number] | None = None,
power: Number | None = None,
Expand Down

0 comments on commit 19cdb9d

Please sign in to comment.