aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Zeitz <florob@babelmonkeys.de>2016-09-15 23:05:27 +0200
committerFlorian Zeitz <florob@babelmonkeys.de>2016-09-15 23:05:27 +0200
commit1972da7f6aa60d3cb3b68808d0381e37898665f3 (patch)
tree9d037e9272e65aea06c74775b2af1eae2f50a46e
parent9ffea4ad9ef0f0b23e5b4e5ebbfe5f140ecf5450 (diff)
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.
-rwxr-xr-xcheck_pep8.sh2
1 files changed, 1 insertions, 1 deletions
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."