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 all DeprecationWarning: invalid escape sequence #6195

Merged
merged 1 commit into from Jan 15, 2019

Conversation

Projects
None yet
3 participants
@BoboTiG
Copy link
Contributor

commented Jan 15, 2019

Hello,

This is a little patch to fix DeprecationWarnings about invalid escape sequence.

Signed-off-by: Mickaël Schoentgen contact@tiger-222.fr

Fix all DeprecationWarning: invalid escape sequence
Signed-off-by: Mickaël Schoentgen <contact@tiger-222.fr>
@msullivan

This comment has been minimized.

Copy link
Collaborator

commented Jan 15, 2019

Thanks!

@msullivan msullivan merged commit 3c6c67b into python:master Jan 15, 2019

2 checks passed

continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

@BoboTiG BoboTiG deleted the BoboTiG:fix-deprecation-warning-invalid-escape-sequence branch Jan 15, 2019

@msullivan

This comment has been minimized.

Copy link
Collaborator

commented Jan 15, 2019

(This had been bothering me for months but I kept lacking the motivation/cycles to investigate it! >_>)

@JelleZijlstra

This comment has been minimized.

Copy link
Collaborator

commented Jan 15, 2019

Just curious @BoboTiG, is there a way to set up CI to catch these in the future so they don't creep back in? Maybe a flake8 plugin or something.

@BoboTiG

This comment has been minimized.

Copy link
Contributor Author

commented Jan 15, 2019

Of course, using Python as simply as:

PYTHONWARNINGS=all python -Werror -m compileall *

It will return non zero on error, just what is needed to include it in the CI :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.