Skip to content
This repository has been archived by the owner on Oct 12, 2024. It is now read-only.

✅ Fix coverage #4

Merged
merged 1 commit into from
May 27, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion poetry_version_plugin/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,10 @@ def activate(self, poetry: Poetry, io: IO) -> None:
version = value_node.value
elif isinstance(value_node, ast.Str):
version = value_node.s
else:
else: # pragma: nocover
# This is actually covered by tests, but can't be
# reported by Coverage
# Ref: https://github.com/nedbat/coveragepy/issues/198
continue
io.write_line(
"Setting package dynamic version to __version__ "
Expand Down