summaryrefslogtreecommitdiff
path: root/.flake8
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2019-01-21 05:35:11 -0600
committerMassimiliano Culpo <massimiliano.culpo@gmail.com>2019-01-21 12:35:11 +0100
commit39725e07841f03da2a3f1a16a5f678ec224833f7 (patch)
treef682580146e49fe7a8e233201192a795796d7708 /.flake8
parentbb1f8b0e3e4298fc256359395c901fc3db84a033 (diff)
downloadspack-39725e07841f03da2a3f1a16a5f678ec224833f7.tar.gz
spack-39725e07841f03da2a3f1a16a5f678ec224833f7.tar.bz2
spack-39725e07841f03da2a3f1a16a5f678ec224833f7.tar.xz
spack-39725e07841f03da2a3f1a16a5f678ec224833f7.zip
Typo fixes in .flake8 comments (#10399)
Diffstat (limited to '.flake8')
-rw-r--r--.flake820
1 files changed, 13 insertions, 7 deletions
diff --git a/.flake8 b/.flake8
index 9188f8efa5..ef62b6efbb 100644
--- a/.flake8
+++ b/.flake8
@@ -1,24 +1,30 @@
# -*- conf -*-
# flake8 settings for Spack core files.
#
-# These exceptions ar for Spack core files. We're slightly more lenient
+# These exceptions are for Spack core files. We're slightly more lenient
# with packages. See .flake8_packages for that.
#
-# Let people line things up nicely:
+# E1: Indentation
# - E129: visually indented line with same indent as next logical line
+#
+# E2: Whitespace
# - E221: multiple spaces before operator
# - E241: multiple spaces after ','
# - E272: multiple spaces before keyword
#
-# Let people use terse Python features:
-# - E731: lambda expressions
+# E7: Statement
+# - E731: do not assign a lambda expression, use a def
+#
+# W5: Line break warning
+# - W503: line break before binary operator
+# - W504: line break after binary operator
#
# These are required to get the package.py files to test clean:
# - F999: syntax error in doctest
#
-# Exempt to allow decorator classes to be lowercase, but follow otherwise:
-# - N801: CapWords for class names.
+# N8: PEP8-naming
+# - N801: class names should use CapWords convention
#
[flake8]
-ignore = E129,E221,E241,E272,E731,F999,N801,W503,W504
+ignore = E129,E221,E241,E272,E731,W503,W504,F999,N801
max-line-length = 79