Skip to content

Commit

Permalink
fix pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
tlambert03 committed Jun 30, 2023
1 parent fa4548c commit c002ee6
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/ome_types/_conversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from xsdata.formats.dataclass.parsers.mixins import XmlHandler
from xsdata_pydantic_basemodel.bindings import XmlContext

from ome_types.model.ome_2016_06 import OME
from ome_types.model import OME

class ParserKwargs(TypedDict, total=False):
config: ParserConfig
Expand Down
2 changes: 1 addition & 1 deletion src/ome_types/_mixins/_instrument.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from typing import TYPE_CHECKING, TypeAlias, Union, cast

if TYPE_CHECKING:
from ome_types.model import (
from ome_types.model.ome_2016_06 import (
Arc,
Filament,
GenericExcitationSource,
Expand Down
2 changes: 1 addition & 1 deletion src/ome_types/_mixins/_ome.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
if TYPE_CHECKING:
from pathlib import Path

from ome_types.model import OME, Reference
from ome_types.model.ome_2016_06 import OME, Reference


class OMEMixin:
Expand Down
4 changes: 4 additions & 0 deletions src/ome_types/model/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
from ome_types.model.ome_2016_06 import * # noqa

# these are here mostly to make mypy happy in pre-commit even when the model isn't built
from ome_types.model.ome_2016_06 import OME as OME
from ome_types.model.ome_2016_06 import Reference as Reference

0 comments on commit c002ee6

Please sign in to comment.