Skip to content

Refactor typing in version.pep440.segments#229

Closed
danieleades wants to merge 1 commit into
python-poetry:masterfrom
danieleades:refactor/typing/version.pep440.segments
Closed

Refactor typing in version.pep440.segments#229
danieleades wants to merge 1 commit into
python-poetry:masterfrom
danieleades:refactor/typing/version.pep440.segments

Conversation

@danieleades
Copy link
Copy Markdown
Contributor

this PR is stacked on top of #199, so i'll leave it as a draft until that's merged

addresses the type errors in version.pep440.segments, and narrows the whitelist

Comment on lines +34 to +36
# (this appears to trigger a mypy false positive)
extra: Union[int, Tuple[int, ...]] = dataclasses.field( # type: ignore
default_factory=tuple, compare=False
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can i get a quick sanity check here @neersighted?

@danieleades danieleades marked this pull request as draft November 13, 2021 07:52
Comment thread mypy.ini Outdated
@danieleades danieleades force-pushed the refactor/typing/version.pep440.segments branch 4 times, most recently from 76329fa to 548f973 Compare November 15, 2021 15:41
@danieleades danieleades force-pushed the refactor/typing/version.pep440.segments branch from 548f973 to 42c045d Compare November 15, 2021 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants