With these ignores, "mypy pysam/" passes
@@ -33,21 +33,21 @@ import pysam.config
# export all the symbols from separate modules
-__all__ = \
- libchtslib.__all__ +\
- libcutils.__all__ +\
- libctabix.__all__ +\
- libcvcf.__all__ +\
- libcbcf.__all__ +\
- libcbgzf.__all__ +\
- libcfaidx.__all__ +\
- libctabixproxies.__all__ +\
- libcalignmentfile.__all__ +\
- libcalignedsegment.__all__ +\
- libcsamfile.__all__ +\
- ["SamtoolsError"] +\
+__all__ = (
+ libchtslib.__all__ + # type: ignore
+ libcutils.__all__ + # type: ignore
+ libctabix.__all__ + # type: ignore
+ libcvcf.__all__ + # type: ignore
+ libcbcf.__all__ + # type: ignore
+ libcbgzf.__all__ + # type: ignore
+ libcfaidx.__all__ + # type: ignore
+ libctabixproxies.__all__ + # type: ignore
+ libcalignmentfile.__all__ + # type: ignore
+ libcalignedsegment.__all__ + # type: ignore
+ libcsamfile.__all__ + # type: ignore
+ ["SamtoolsError"] +
["Pileup"]
-
+)
from pysam.version import __version__, __samtools_version__
