Skip to content
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

fix(pep8): invalid excape sequence #17

Closed

Conversation

AlessandroLorenzi
Copy link

There was a validation warning:

PEP 8: W605 invalid escape sequence '.'

There was a validation warning:

> PEP 8: W605 invalid escape sequence '\.'
>  validus/validators.py:883
>   /home/alorenzi/progetti/AlessandroLorenzi/validus/validus/validators.py:883: DeprecationWarning: invalid escape sequence '\d'
>     url = re.compile(r'^(ftp|tcp|rtmp|udp|wss?|https?)://(?:\S+(?::\S*)?@)?(?:' + ipv4_re + '|' + ipv6_re + '|' + host_re + ')(?::\d{2,5})?(?:[/?#][^\s]*)?\Z', re.IGNORECASE)
>
> -- Docs: https://docs.pytest.org/en/stable/warnings.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant