Skip to content

Commit 24fae84

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 b686487 commit 24fae84

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
@@ -50,3 +50,23 @@
5050
from .uns_group import UnsGroup
5151
from .util_ann import describe_ann_file
5252
from .util_tiledb import show_soma_schemas
53+
54+
__all__ = [
55+
"AnnotationMatrix",
56+
"AnnotationMatrixGroup",
57+
"AnnotationPairwiseMatrixGroup",
58+
"AssayMatrix",
59+
"AssayMatrixGroup",
60+
"RawGroup",
61+
"SOMA",
62+
"SOMACollection",
63+
"SOMAOptions",
64+
"SOMASlice",
65+
"TileDBArray",
66+
"TileDBGroup",
67+
"TileDBObject",
68+
"UnsArray",
69+
"UnsGroup",
70+
"describe_ann_file",
71+
"show_soma_schemas",
72+
]

0 commit comments

Comments
 (0)