Skip to content

Use Never for return types #551

Description

@srittau

Per the discussion in python/cpython#132941, Never is also preferred for return types. We should either extend Y050 to apply everywhere or introduce a new error code for non-argument types.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions