Skip to content

Commit 24b6a30

Browse files
committed
Specify explicitly all exportable names from tiledbsc and remove the flake8 per-file-ignore
Reason: per-file-ignores paths are treated relative to the current directory, not the config file. This breaks the flake8 pre-commit hook that is invoked from the project root. See PyCQA/flake8#693
1 parent 227f58e commit 24b6a30

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

apis/python/setup.cfg

-2
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,3 @@ known_third_party = anndata
5353
statistics = true
5454
ignore = E203,E501,W503,B950
5555
select = B,C,E,F,W,T4,B9
56-
per-file-ignores =
57-
src/tiledbsc/__init__.py: F401

apis/python/src/tiledbsc/__init__.py

+20
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,23 @@
4848
from .uns_group import UnsGroup
4949
from .util_ann import describe_ann_file
5050
from .util_tiledb import show_soma_schemas
51+
52+
__all__ = [
53+
"AnnotationMatrix",
54+
"AnnotationMatrixGroup",
55+
"AnnotationPairwiseMatrixGroup",
56+
"AssayMatrix",
57+
"AssayMatrixGroup",
58+
"RawGroup",
59+
"SOMA",
60+
"SOMACollection",
61+
"SOMAOptions",
62+
"SOMASlice",
63+
"TileDBArray",
64+
"TileDBGroup",
65+
"TileDBObject",
66+
"UnsArray",
67+
"UnsGroup",
68+
"describe_ann_file",
69+
"show_soma_schemas",
70+
]

0 commit comments

Comments
 (0)