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 29, 2024
1 parent 25804a5 commit 11efe58
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions ome_zarr/axes.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"""Axes class for validating and transforming axes
"""

from typing import Any, Dict, List, Union

from .format import CurrentFormat, Format
Expand Down
1 change: 1 addition & 0 deletions ome_zarr/cli.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Entrypoint for the `ome_zarr` command-line tool."""

import argparse
import logging
import sys
Expand Down
1 change: 1 addition & 0 deletions ome_zarr/data.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Functions for generating synthetic data."""

from random import randrange
from typing import Callable, List, Optional, Tuple, Union

Expand Down
6 changes: 2 additions & 4 deletions ome_zarr/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,10 @@ def __init__(
self.specs.append(Well(self))

@overload
def first(self, spectype: Type["Well"]) -> Optional["Well"]:
...
def first(self, spectype: Type["Well"]) -> Optional["Well"]: ...

@overload
def first(self, spectype: Type["Plate"]) -> Optional["Plate"]:
...
def first(self, spectype: Type["Plate"]) -> Optional["Plate"]: ...

def first(self, spectype: Type["Spec"]) -> Optional["Spec"]:
for spec in self.specs:
Expand Down
1 change: 1 addition & 0 deletions ome_zarr/scale.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
See the :class:`~ome_zarr.scale.Scaler` class for details.
"""

import inspect
import logging
import os
Expand Down
1 change: 1 addition & 0 deletions ome_zarr/writer.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""Image writer utility
"""

import logging
import warnings
from pathlib import Path
Expand Down

0 comments on commit 11efe58

Please sign in to comment.