[gobject-introspection/gnome-3-30] flake8 updates, fixes "make check.quality"
- From: Christoph Reiter <creiter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection/gnome-3-30] flake8 updates, fixes "make check.quality"
- Date: Mon, 5 Nov 2018 20:01:38 +0000 (UTC)
commit 64a8ab51311b40b778e7c3ba272dc3b05112b13f
Author: Christoph Reiter <reiter christoph gmail com>
Date: Sun Nov 4 13:32:29 2018 +0100
flake8 updates, fixes "make check.quality"
Disables the new "W504 line break after binary operator" warning.
Fixes wrong escape sequences "W605 invalid escape sequence '\.'"
.flake8 | 2 +-
giscanner/utils.py | 2 +-
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):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]