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

python: clear out syntax warnings #17503

Closed

Conversation

ariel-anieli
Copy link

Hello committers,

Thanks for maintaining the project; this is my first ever contribution. I would like to understand how are implemented routing protocols.

This PR clears out a warning seen in compilation: non-escaped sequences now produce warnings.

Thank you,

python/makefile.py:55: SyntaxWarning: invalid escape sequence '\s'
  "^#\s*include.*_clippy.c",

```
python/makefile.py:55: SyntaxWarning: invalid escape sequence '\s'
  "^#\s*include.*_clippy.c",
```

Link: https://docs.python.org/fr/3/library/re.html#module-re
Signed-off-by: Ariel Otilibili <[email protected]>
@frrbot frrbot bot added the clippy label Nov 25, 2024
@ariel-anieli
Copy link
Author

Done in 0073c73; my branch wasn't up to date.

@ariel-anieli ariel-anieli deleted the python-syntax-warnings branch November 25, 2024 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant