summaryrefslogtreecommitdiff
path: root/.flake8
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2016-05-11 02:26:07 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2016-05-11 02:26:07 -0700
commit9030541e4bc3a77f90d16969b6fff0afa387847c (patch)
tree0934a772d3fb381e8108fbc9c22200e26de5c3d6 /.flake8
parent98faee1d5c24ddacaeb1bc630ff8c31ba0d74f9b (diff)
parent78d25ad337e2faaa8cfd589607801acb78aec4d9 (diff)
downloadspack-9030541e4bc3a77f90d16969b6fff0afa387847c.tar.gz
spack-9030541e4bc3a77f90d16969b6fff0afa387847c.tar.bz2
spack-9030541e4bc3a77f90d16969b6fff0afa387847c.tar.xz
spack-9030541e4bc3a77f90d16969b6fff0afa387847c.zip
Merge pull request #929 from epfl-scitas/differentiate_framework_from_packages
QA : make qa checking less painful
Diffstat (limited to '.flake8')
-rw-r--r--.flake820
1 files changed, 20 insertions, 0 deletions
diff --git a/.flake8 b/.flake8
new file mode 100644
index 0000000000..a1e2fcc1f8
--- /dev/null
+++ b/.flake8
@@ -0,0 +1,20 @@
+# -*- conf -*-
+# flake8 settings for Spack.
+#
+# Below we describe which flake8 checks Spack ignores and what the
+# rationale is.
+#
+# Let people line things up nicely:
+# - E221: multiple spaces before operator
+# - E241: multiple spaces after ‘,’
+#
+# Spack allows wildcard imports:
+# - F403: disable wildcard import
+#
+# These are required to get the package.py files to test clean.
+# - F821: undefined name (needed for cmake, configure, etc.)
+# - F999: name name be undefined or undefined from star imports.
+#
+[flake8]
+ignore = E221,E241,F403,F821,F999
+max-line-length = 79