Skip to content

Improve error message when .* is used incorrectly #657

@gaborbernat

Description

@gaborbernat

The error message here complains about a right parenthesis missing, though that's not the issue:

    raise InvalidRequirement(str(e)) from e
packaging.requirements.InvalidRequirement: Expected closing RIGHT_PARENTHESIS
    black (>=20.*) ; extra == 'format'
          ~~~~~^

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions