[mousetrap] Silence pep8 E402
- From: Stoney Jackson <stoneyjackson src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mousetrap] Silence pep8 E402
- Date: Mon, 23 Feb 2015 21:25:57 +0000 (UTC)
commit c2cf0ad3ac7743fe4a63a11fff584e8575aba7ee
Author: Stoney Jackson <dr stoney gmail com>
Date: Wed Feb 11 00:19:41 2015 -0500
Silence pep8 E402
pep8 1.6.0 adds a new error E402, which complains when a module level
import is made somewhere other than at the top of the file. This new
addition is causing bin/lint.bash to fail, and thus our automated CI
tests to fail.
This fix is a stopgap, allowing our automated CI tests to pass by
silencing E402. If we later decide we agree with E402, and make the
necessary corrections, we should re-enable E402.
bin/lint.bash | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/bin/lint.bash b/bin/lint.bash
index 4554bef..d310e7a 100755
--- a/bin/lint.bash
+++ b/bin/lint.bash
@@ -1,4 +1,4 @@
#!/bin/bash
set -x
-flake8 src/mousetrap
+flake8 --ignore=E402 src/mousetrap
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]