Skip to content

Commit

Permalink
MRG: add __all__ to sig/__main__.py (#2778)
Browse files Browse the repository at this point in the history
This change limits what is imported with `from sourmash.sig.__main__
import *`.

Fixes #2714
  • Loading branch information
ctb authored Sep 25, 2023
1 parent d1be0e0 commit 256a705
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/sourmash/sig/__main__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,27 @@
"""
Command-line entry point for 'python -m sourmash.sig'
"""
__all__ = ["cat",
"split",
"describe",
"manifest",
"overlap",
"merge",
"intersect",
"inflate",
"subtract",
"rename",
"extract",
"filter",
"flatten",
"downsample",
"sig_import",
"export",
"kmers",
"fileinfo",
"check",
"collect"]

import sys
import csv
import json
Expand Down

0 comments on commit 256a705

Please sign in to comment.