Skip to content

Conversation

tushar-deepsource
Copy link
Contributor

Description

Removes the unnecessary NoReturn type from a union.

Type of Changes

Type
🔨 Refactoring

@tushar-deepsource
Copy link
Contributor Author

In response to #1263 (comment)

@Pierre-Sassoulas Pierre-Sassoulas added this to the 2.9.1 milestone Dec 20, 2021
@Pierre-Sassoulas Pierre-Sassoulas added the Maintenance Discussion or action around maintaining astroid or the dev workflow label Dec 20, 2021
Copy link
Member

@Pierre-Sassoulas Pierre-Sassoulas left a comment

Choose a reason for hiding this comment

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

Congrats on becoming an astroid contributor, you won't have to wait for us to approve your pipeline anymore ;)

@tushar-deepsource
Copy link
Contributor Author

:D

@Pierre-Sassoulas Pierre-Sassoulas merged commit df854be into pylint-dev:main Dec 20, 2021
@tushar-deepsource tushar-deepsource deleted the remove-noreturn branch December 20, 2021 10:31
@cdce8p
Copy link
Member

cdce8p commented Dec 21, 2021

Just because mypy doesn't complain about it doesn't make it wrong. Actually this a a false-negative in mypy and pyright / pylance correctly detects it (in strict mode). I'll revert it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Maintenance Discussion or action around maintaining astroid or the dev workflow
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants