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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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