Skip to content

Emit assignment-from-no-return instead of assignment-from-none for implicitly returning stdlib calls #8810

@jacobtylerwalls

Description

@jacobtylerwalls

"Assignment from no return" is essentially the same as "assignment from none". I don't see the point of maintaining a distinction.

Besides suggesting that there is a distinction, we might also cause confusion with typing.NoReturn which signifies not an implicit return but always raising.

Suggest that in 3.0 we start always emitting assignment-from-none and mark assignment-from-no-return as a historical name.

Metadata

Metadata

Labels

MaintenanceDiscussion or action around maintaining pylint or the dev workflow

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions