summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2018-10-26 00:11:22 +0200
committerPeter Scheibel <scheibel1@llnl.gov>2018-10-25 15:11:22 -0700
commit0d6e73771b431b70dc0053722c530988ae552d9e (patch)
treec172d9b832eb502d866debcc6fcb81a68c9d7b81
parentda537d2211f60b8e02f4acd6677b98f82a0cf2ff (diff)
downloadspack-0d6e73771b431b70dc0053722c530988ae552d9e.tar.gz
spack-0d6e73771b431b70dc0053722c530988ae552d9e.tar.bz2
spack-0d6e73771b431b70dc0053722c530988ae552d9e.tar.xz
spack-0d6e73771b431b70dc0053722c530988ae552d9e.zip
flake8: explicitly allow line break before or after binary operator (#9627)
W503 and W504 are issued for line breaks before or after binary operators (respectively). This allows either approach (explicitly instructing flake8 to ignore both of these cases).
-rw-r--r--.flake82
-rw-r--r--.flake8_packages2
2 files changed, 2 insertions, 2 deletions
diff --git a/.flake8 b/.flake8
index 9e7956c919..9188f8efa5 100644
--- a/.flake8
+++ b/.flake8
@@ -20,5 +20,5 @@
# - N801: CapWords for class names.
#
[flake8]
-ignore = E129,E221,E241,E272,E731,F999,N801
+ignore = E129,E221,E241,E272,E731,F999,N801,W503,W504
max-line-length = 79
diff --git a/.flake8_packages b/.flake8_packages
index 9fcc3b86d4..74b42293af 100644
--- a/.flake8_packages
+++ b/.flake8_packages
@@ -18,5 +18,5 @@
# - F821: undefined name `name` (needed for cmake, configure, etc.)
#
[flake8]
-ignore = E129,E221,E241,E272,E731,F999,F405,F821
+ignore = E129,E221,E241,E272,E731,F999,F405,F821,W503,W504
max-line-length = 79