-
Notifications
You must be signed in to change notification settings - Fork 15
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
invalid escape sequences #62
Comments
@DeborahVolpe, could you please clarify where exactly and under what conditions are you seeing this error. Invalid escape sequences currently (in Python 3.12), raise See also escape sequences in python docs. |
Thank you for your response. To be precise the first error occurring in this our CI test is the following:
Refferring to
It is the _ character after the wikipedia link in the comment line. I think that it is not the only point in which a not-allowed character is employed. |
@DeborahVolpe, that's a known issue we're fixing across our packages (converting such strings to raw strings), but what's not clear is why is this raised as So I'm guessing you have a nox/test setup stricter than Python default -- and converting warnings to errors. Perhaps you've set PYTHONWARNINGS to |
Your code presents some invalid escape sequences that are considered errors from python 11. Please check: https://docs.astral.sh/ruff/rules/invalid-escape-sequence/.
Steps To Reproduce
With CI workflow for analyzing the code, errors like:
E SyntaxError: invalid escape sequence '?'
rises in the comment lines
Expected Behavior
A clear and concise description of what you expected to happen.
Environment
The text was updated successfully, but these errors were encountered: