diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2016-05-10 23:45:41 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2016-05-11 00:07:42 -0700 |
commit | 2aa4387ebac307285c1b2c90bc6527b82fe83839 (patch) | |
tree | 466121625ffb2cc3dd7f00cdcd16c1ae73d6760d /share/spack | |
parent | 7d74e209f365ba135acd9dfe738737bcf37d4b79 (diff) | |
download | spack-2aa4387ebac307285c1b2c90bc6527b82fe83839.tar.gz spack-2aa4387ebac307285c1b2c90bc6527b82fe83839.tar.bz2 spack-2aa4387ebac307285c1b2c90bc6527b82fe83839.tar.xz spack-2aa4387ebac307285c1b2c90bc6527b82fe83839.zip |
Update code style checking.
- Exempt overlong URL lines from checks.
- Omit some of the more painful PEP items.
Diffstat (limited to 'share/spack')
-rw-r--r-- | share/spack/qa/flake8-framework | 10 | ||||
-rw-r--r-- | share/spack/qa/flake8-packages | 11 |
2 files changed, 21 insertions, 0 deletions
diff --git a/share/spack/qa/flake8-framework b/share/spack/qa/flake8-framework new file mode 100644 index 0000000000..b1ad00b80f --- /dev/null +++ b/share/spack/qa/flake8-framework @@ -0,0 +1,10 @@ +# -*- conf -*- +[flake8] +# Descriptions of ignored checks: +# +# E221: multiple spaces before operator +# E241: multiple spaces after ‘,’ +# F403: disable wildcard import +# +ignore = E221,E241,F403 +max-line-length = 79 diff --git a/share/spack/qa/flake8-packages b/share/spack/qa/flake8-packages new file mode 100644 index 0000000000..0e5be249fb --- /dev/null +++ b/share/spack/qa/flake8-packages @@ -0,0 +1,11 @@ +# -*- conf -*- +[flake8] +# Descriptions of ignored checks: +# +# E221: multiple spaces before operator +# E241: multiple spaces after ‘,’ +# F403: disable wildcard import +# F821: undefined name (needed for build commands) +# +ignore = E221,E241,F403,F821 +max-line-length = 79 |