Closed kiblik closed 3 months ago
Fix SyntaxWarning:
.../yamale/validators/validators.py:260: SyntaxWarning: invalid escape sequence '\d' re.compile("^(?P<major>0|[1-9]\d*)\.(?P<minor>0|[1-9]\d*)\.(?P<patch>0|[1-9]\d*)(?:-(?P<prerelease>(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+(?P<buildmetadata>[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$"),
To reproduce this error, you need to run Python with -W error or export PYTHONWARNING=error.
-W error
export PYTHONWARNING=error
Error was there for semver only but I fixed typo for mac() as well
mac()
Fix SyntaxWarning:
To reproduce this error, you need to run Python with
-W error
orexport PYTHONWARNING=error
.Error was there for semver only but I fixed typo for
mac()
as well