From 1972da7f6aa60d3cb3b68808d0381e37898665f3 Mon Sep 17 00:00:00 2001 From: Florian Zeitz Date: Thu, 15 Sep 2016 23:05:27 +0200 Subject: check_pep8: Ignore E402: module level import not at top of file This rule clashes with gobject-introspection's practice of calling `gi.require_version()` before importing modules. --- check_pep8.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'check_pep8.sh') diff --git a/check_pep8.sh b/check_pep8.sh index 068c226..d988d09 100755 --- a/check_pep8.sh +++ b/check_pep8.sh @@ -1,3 +1,3 @@ #!/bin/sh -pep8 . +pep8 --ignore=E402 . [ $? = 0 ] && echo "Success!" || echo "There were some warnings." -- cgit v1.2.3