Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions python/ontoenv/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
"""Python package shim for the ontoenv extension."""

# These symbols come from the Rust extension module built via maturin.
from ._native import OntoEnv, Ontology, run_cli, version # type: ignore[attr-defined]
from . import _native as _ext # type: ignore[attr-defined]
from ontoenv._native import OntoEnv, Ontology, run_cli, version # type: ignore[attr-defined]
from ontoenv import _native as _ext # type: ignore[attr-defined]

__doc__ = getattr(_ext, "__doc__", None) # type: ignore[assignment]

Expand Down
2 changes: 1 addition & 1 deletion python/ontoenv/_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import sys

from .ontoenv import run_cli as _run_cli
from ontoenv import run_cli as _run_cli


def main(argv: list[str] | None = None) -> int:
Expand Down