[pygobject] pep8: ignore new errors reported by pep8 1.6
- From: Christoph Reiter <creiter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] pep8: ignore new errors reported by pep8 1.6
- Date: Sun, 27 Sep 2015 10:31:08 +0000 (UTC)
commit 640221c099031a55cbc32f5cdac3e6e018256fff
Author: Christoph Reiter <creiter src gnome org>
Date: Sun Sep 27 11:19:14 2015 +0200
pep8: ignore new errors reported by pep8 1.6
Makes sure we get the same result for older and newer pep8.
Once 1.6 is more common, the ignored errors could be added back
and fixed (E402 might be impossible, see bug 755620)
Makefile.am | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 968b6c9..1a984e1 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -184,7 +184,7 @@ check-local:
@if test -z "$$SKIP_PEP8"; then \
echo " CHECK PEP8"; \
if type pep8 >/dev/null 2>&1; then \
- (cd $(abs_top_srcdir) && pep8 --ignore=E501,E123,E124 --repeat --show-source
$(pycheck_dirs) ); \
+ (cd $(abs_top_srcdir) && pep8 --ignore=E501,E123,E124,E402,E731 --repeat
--show-source $(pycheck_dirs) ); \
else echo "skipped, pep8 not installed"; \
fi; \
fi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]