Skip to content

Commit

Permalink
Specify explicitly all exportable names from tiledbsc and remove the …
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
gsakkis committed Jun 25, 2022
1 parent b686487 commit 24fae84
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
2 changes: 0 additions & 2 deletions apis/python/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,3 @@ known_third_party = anndata
statistics = true
ignore = E203,E501,W503,B950
select = B,C,E,F,W,T4,B9
per-file-ignores =
src/tiledbsc/__init__.py: F401
20 changes: 20 additions & 0 deletions apis/python/src/tiledbsc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,23 @@
from .uns_group import UnsGroup
from .util_ann import describe_ann_file
from .util_tiledb import show_soma_schemas

__all__ = [
"AnnotationMatrix",
"AnnotationMatrixGroup",
"AnnotationPairwiseMatrixGroup",
"AssayMatrix",
"AssayMatrixGroup",
"RawGroup",
"SOMA",
"SOMACollection",
"SOMAOptions",
"SOMASlice",
"TileDBArray",
"TileDBGroup",
"TileDBObject",
"UnsArray",
"UnsGroup",
"describe_ann_file",
"show_soma_schemas",
]

0 comments on commit 24fae84

Please sign in to comment.