HomePhabricator
Diffusion Scap d7b8bfa2fa5e

Fix "invalid escape sequence '\' (W605)"

Authored by thcipriani on Oct 25 2018, 5:23 PM.

Description

Fix "invalid escape sequence '\' (W605)"

Summary:
In python 3.6, using the \ char in a string that is not part of a
valid escape sequence will generate a Deprecation warning. For us it
means that flake8 is upset.

We use this in regex and in ascii art.

Reviewers: mmodell, Release-Engineering-Team

Reviewed By: mmodell, Release-Engineering-Team

Tags: Release-Engineering-Team

Differential Revision: https://phabricator.wikimedia.org/D1121

Details

Committed
thciprianiOct 25 2018, 7:28 PM
Reviewer
Release-Engineering-Team
Differential Revision
D1121: Fix "invalid escape sequence '\' (W605)"
Parents
rMSCA1b4b1f84401c: Remove '/' from include in sync-wikiversions
Branches
Unknown
Tags
Unknown
ChangeId
None
Build Status
Buildable 3154
Build 5282: ci-jessieJenkins