mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-22 12:28:05 +00:00
Ignore type checks in allmydata.
This commit is contained in:
parent
d2e2a22f62
commit
3eb975748a
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user