diff options
author | Peter Scheibel <scheibel1@llnl.gov> | 2016-05-24 18:56:44 -0700 |
---|---|---|
committer | Peter Scheibel <scheibel1@llnl.gov> | 2016-05-24 18:56:44 -0700 |
commit | dd26c0bbcc8d968a6af872f95bc401ab3ce9aaf2 (patch) | |
tree | a7725e2cbf72b207419042d426a3fde224e11f14 /.flake8 | |
parent | 9eb314fcaaa9a19d59dee3269bd9ddaf738117a3 (diff) | |
parent | 1bca69f27281d3bb707bcba41b4f332ab3988509 (diff) | |
download | spack-dd26c0bbcc8d968a6af872f95bc401ab3ce9aaf2.tar.gz spack-dd26c0bbcc8d968a6af872f95bc401ab3ce9aaf2.tar.bz2 spack-dd26c0bbcc8d968a6af872f95bc401ab3ce9aaf2.tar.xz spack-dd26c0bbcc8d968a6af872f95bc401ab3ce9aaf2.zip |
merge from develop
Diffstat (limited to '.flake8')
-rw-r--r-- | .flake8 | 20 |
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 |