diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2016-05-11 01:25:40 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2016-05-11 01:25:40 -0700 |
commit | c512b37a4e26bb639893d06c9f2df30fb6dd6892 (patch) | |
tree | 7d906ce2db17c457e3ee7dd0305f27a6339ed8b7 | |
parent | f15837505420e878e7b5ec2139686985deb54401 (diff) | |
download | spack-c512b37a4e26bb639893d06c9f2df30fb6dd6892.tar.gz spack-c512b37a4e26bb639893d06c9f2df30fb6dd6892.tar.bz2 spack-c512b37a4e26bb639893d06c9f2df30fb6dd6892.tar.xz spack-c512b37a4e26bb639893d06c9f2df30fb6dd6892.zip |
format .flake8 more nicely.
-rw-r--r-- | .flake8 | 22 |
1 files changed, 15 insertions, 7 deletions
@@ -1,12 +1,20 @@ # -*- conf -*- -[flake8] -# Descriptions of ignored checks: +# 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 ‘,’ # -# E221: multiple spaces before operator -# E241: multiple spaces after ‘,’ -# F403: disable wildcard import -# F821: undefined name (needed for build commands) -# F999: Undefined undefined name (needed for build commands) +# 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 |