summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2018-11-04 13:32:29 +0100
committerChristoph Reiter <reiter.christoph@gmail.com>2018-11-05 19:58:03 +0100
commit64a8ab51311b40b778e7c3ba272dc3b05112b13f (patch)
tree350da2e988a77ed96106a4c7ca08bfc92234b8f9
parent5a23af1517c377cf0282f65492315f932c3c31b8 (diff)
downloadgobject-introspection-64a8ab51311b40b778e7c3ba272dc3b05112b13f.tar.gz
flake8 updates, fixes "make check.quality"
Disables the new "W504 line break after binary operator" warning. Fixes wrong escape sequences "W605 invalid escape sequence '\.'"
-rw-r--r--.flake82
-rw-r--r--giscanner/utils.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/.flake8 b/.flake8
index 9c8621cf..4ce80256 100644
--- a/.flake8
+++ b/.flake8
@@ -1,4 +1,4 @@
[flake8]
-ignore=E127,E402,E501,E731,E128,W503,E741
+ignore=E127,E402,E501,E731,E128,W503,E741,W504
exclude=misc,subprojects
builtins=DATADIR
diff --git a/giscanner/utils.py b/giscanner/utils.py
index 67d6a17f..bdb90714 100644
--- a/giscanner/utils.py
+++ b/giscanner/utils.py
@@ -83,7 +83,7 @@ def to_underscores_noprefix(name):
return name
-_libtool_pat = re.compile("dlname='([A-z0-9\.\-\+]+)'\n")
+_libtool_pat = re.compile("dlname='([A-z0-9\\.\\-\\+]+)'\n")
def _extract_dlname_field(la_file):