Skip to content

Issue with mypy versions containing more than one '.' #6

@anjz

Description

@anjz

Hi there,
I've noticed that the following conversion is problematic when version has more than 1 decimal point. For example with version 1.0.0. That string can't be converted to float.

if float(version) < 0.7:

Maybe using a package like semver could be handy here.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions