summaryrefslogtreecommitdiff
path: root/tools/trove-pylint.py
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-07-03 08:30:21 +0000
committerGerrit Code Review <review@openstack.org>2018-07-03 08:30:21 +0000
commitf025cf78d0e227cbcc8baec3a2d39a61ac4ac6c9 (patch)
tree7e619f6fe75391b500edabc720c62eb5b9ef1372 /tools/trove-pylint.py
parent31e7e68aa931ffc5999c2415ab26422688010f03 (diff)
parent4860f523d45df502e2d1005df3db4121c7795fe0 (diff)
downloadtrove-f025cf78d0e227cbcc8baec3a2d39a61ac4ac6c9.tar.gz
Merge "Fix invalid escape sequence warnings"
Diffstat (limited to 'tools/trove-pylint.py')
-rwxr-xr-xtools/trove-pylint.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/trove-pylint.py b/tools/trove-pylint.py
index 75cea908..d30d65a1 100755
--- a/tools/trove-pylint.py
+++ b/tools/trove-pylint.py
@@ -206,7 +206,8 @@ class LintRunner(object):
def __init__(self):
self.config = Config()
self.idline = re.compile("^[*]* Module .*")
- self.detail = re.compile("(\S+):(\d+): \[(\S+)\((\S+)\), (\S+)?] (.*)")
+ self.detail = re.compile(r"(\S+):(\d+): \[(\S+)\((\S+)\),"
+ r" (\S+)?] (.*)")
def dolint(self, filename):
exceptions = set()