Skip to content

Commit cbfcf61

Browse files
committed
Don't typecheck __version imports as __version isn't guaranteed to be present
1 parent 8676e1b commit cbfcf61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pytest_html/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
try:
2-
from . import __version
2+
from . import __version # type: ignore
33

44
__version__ = __version.version
55
except ImportError:

0 commit comments

Comments
 (0)