summaryrefslogtreecommitdiff
path: root/.flake8
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2018-01-17 14:14:45 -0800
committerTodd Gamblin <tgamblin@llnl.gov>2018-01-17 14:14:45 -0800
commitc2a10a2aa23f3905ee22bb4b7c79ab963d966a9d (patch)
tree18d502edbbc09b8f9cf255697bd135e9718fb584 /.flake8
parent52a9e5d2a31b4a66ce51d0ff03ab709417dee6dc (diff)
parentba6c39310b537bbeafd4eb00836623ac2bb19d99 (diff)
downloadspack-c2a10a2aa23f3905ee22bb4b7c79ab963d966a9d.tar.gz
spack-c2a10a2aa23f3905ee22bb4b7c79ab963d966a9d.tar.bz2
spack-c2a10a2aa23f3905ee22bb4b7c79ab963d966a9d.tar.xz
spack-c2a10a2aa23f3905ee22bb4b7c79ab963d966a9d.zip
Merge branch 'releases/v0.11.0'v0.11.0
Diffstat (limited to '.flake8')
-rw-r--r--.flake817
1 files changed, 6 insertions, 11 deletions
diff --git a/.flake8 b/.flake8
index 023f392952..49199b35c8 100644
--- a/.flake8
+++ b/.flake8
@@ -1,8 +1,8 @@
# -*- conf -*-
-# flake8 settings for Spack.
+# flake8 settings for Spack core files.
#
-# Below we describe which flake8 checks Spack ignores and what the
-# rationale is.
+# These exceptions ar for Spack core files. We're slightly more lenient
+# with packages. See .flake8_packages for that.
#
# Let people line things up nicely:
# - E129: visually indented line with same indent as next logical line
@@ -11,16 +11,11 @@
# - E272: multiple spaces before keyword
#
# Let people use terse Python features:
-# - E731 : lambda expressions
+# - E731: lambda expressions
#
-# Spack allows wildcard imports:
-# - F403: disable wildcard import
-#
-# These are required to get the package.py files to test clean.
-# - F405: `name` may be undefined, or undefined from star imports: `module`
-# - F821: undefined name `name` (needed for cmake, configure, etc.)
+# These are required to get the package.py files to test clean:
# - F999: syntax error in doctest
#
[flake8]
-ignore = E129,E221,E241,E272,E731,F403,F405,F821,F999
+ignore = E129,E221,E241,E272,E731,F999
max-line-length = 79