diff options
author | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2018-10-26 00:11:22 +0200 |
---|---|---|
committer | Peter Scheibel <scheibel1@llnl.gov> | 2018-10-25 15:11:22 -0700 |
commit | 0d6e73771b431b70dc0053722c530988ae552d9e (patch) | |
tree | c172d9b832eb502d866debcc6fcb81a68c9d7b81 | |
parent | da537d2211f60b8e02f4acd6677b98f82a0cf2ff (diff) | |
download | spack-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-- | .flake8 | 2 | ||||
-rw-r--r-- | .flake8_packages | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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 |