Skip to content

Commit

Permalink
tiledbsoma.__init__.py: restore lint checks (#3495)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-williams authored Dec 20, 2024
1 parent bab5988 commit 7838872
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions apis/python/src/tiledbsoma/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@
import os
import sys


# Load native libraries. On wheel builds, we may have a shared library
# already linked. In this case, we can import directly
try:
Expand Down Expand Up @@ -133,6 +132,8 @@
except OSError:
# Otherwise try loading by name only.
ctypes.CDLL(libtiledbsoma_name)

# ruff: noqa: F401 (allow unused imports)
from somacore import (
AffineTransform,
Axis,
Expand All @@ -143,17 +144,13 @@
ScaleTransform,
UniformScaleTransform,
)
from ._query import (
ExperimentAxisQuery,
)
from somacore.options import ResultOrder

# This is important since we need to do the above dll/dylib/so business
# _before_ imports, but, ruff will tell us that imports need to be
# at the top of the file:
#
# ruff: noqa

# ruff: noqa: E402
from ._collection import Collection
from ._constants import SOMA_JOINID
from ._dataframe import DataFrame
Expand All @@ -169,15 +166,16 @@
from ._general_utilities import (
get_implementation,
get_implementation_version,
get_libtiledbsoma_core_version,
get_SOMA_version,
get_storage_engine,
show_package_versions,
get_libtiledbsoma_core_version,
)
from ._indexer import IntIndexer, tiledbsoma_build_index
from ._measurement import Measurement
from ._multiscale_image import MultiscaleImage
from ._point_cloud_dataframe import PointCloudDataFrame
from ._query import ExperimentAxisQuery
from ._scene import Scene
from ._sparse_nd_array import SparseNDArray, SparseNDArrayRead
from .options import SOMATileDBContext, TileDBCreateOptions, TileDBWriteOptions
Expand Down

0 comments on commit 7838872

Please sign in to comment.