Skip to content

Y016 doesn't account for single member unions #484

Description

@tusharsadhwani

For code like:

from typing import Union
x: Union[int, Union[int]]

Y016 should be raised but isn't.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions