Ignore type checks in allmydata.

This commit is contained in:
Jason R. Coombs 2020-12-04 19:56:51 -05:00
parent d2e2a22f62
commit 3eb975748a

View File

@ -14,7 +14,7 @@ __all__ = [
__version__ = "unknown" __version__ = "unknown"
try: try:
from allmydata._version import __version__ from allmydata._version import __version__ # type: ignore
except ImportError: except ImportError:
# We're running in a tree that hasn't run update_version, and didn't # We're running in a tree that hasn't run update_version, and didn't
# come with a _version.py, so we don't know what our version is. # come with a _version.py, so we don't know what our version is.
@ -24,7 +24,7 @@ except ImportError:
full_version = "unknown" full_version = "unknown"
branch = "unknown" branch = "unknown"
try: try:
from allmydata._version import full_version, branch from allmydata._version import full_version, branch # type: ignore
except ImportError: except ImportError:
# We're running in a tree that hasn't run update_version, and didn't # We're running in a tree that hasn't run update_version, and didn't
# come with a _version.py, so we don't know what our full version or # come with a _version.py, so we don't know what our full version or