-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature request: normalized pep440 check #179
Comments
Hi @trim21, sorry for the delay, this slipped under the radar. I believe it would be fine to add this custom format that you propose. The only thing is that Another nitpick I personally have is the terminology: I agree that |
OK, calling it This would require some kind of configuration to enable it, I think. otherwise users with For example, a arguments |
or we can just make |
If I remember correctly, this is integrated in setuptools, and so cannot have any required dependencies. |
I like the idea of a general |
OK, so make this flag only works when |
pep440 provice a lax regex and a canonical regex, could we have a strict version check with canonical regex?
which mean, under this checking
0.0.1.a0
is invalid, and it's normalized result0.0.1a0
is valid.This can be done with packaing package https://github.com/pypa/packaging/blob/main/tests/test_version.py
I can send a pr for this.
The text was updated successfully, but these errors were encountered: