[gobject-introspection/flake8-updates] flake8 updates, fixes "make check.quality"
- From: Christoph Reiter <creiter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection/flake8-updates] flake8 updates, fixes "make check.quality"
- Date: Sun, 4 Nov 2018 12:34:31 +0000 (UTC)
commit fc1220ca86ba35451fdf9f812c44df49d21736fb
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 cda7132a..527cabcd 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,GIRDIR
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]