diff options
author | Christoph Reiter <reiter.christoph@gmail.com> | 2018-11-04 13:32:29 +0100 |
---|---|---|
committer | Christoph Reiter <reiter.christoph@gmail.com> | 2018-11-05 19:58:03 +0100 |
commit | 64a8ab51311b40b778e7c3ba272dc3b05112b13f (patch) | |
tree | 350da2e988a77ed96106a4c7ca08bfc92234b8f9 | |
parent | 5a23af1517c377cf0282f65492315f932c3c31b8 (diff) | |
download | gobject-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-- | .flake8 | 2 | ||||
-rw-r--r-- | giscanner/utils.py | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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): |