2016-05-11 06:45:41 +00:00
|
|
|
|
# -*- conf -*-
|
2016-05-11 08:25:40 +00:00
|
|
|
|
# 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 ‘,’
|
2016-05-11 06:45:41 +00:00
|
|
|
|
#
|
2016-05-11 08:25:40 +00:00
|
|
|
|
# Spack allows wildcard imports:
|
|
|
|
|
# - F403: disable wildcard import
|
2016-05-11 06:45:41 +00:00
|
|
|
|
#
|
2016-05-11 08:25:40 +00:00
|
|
|
|
# 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]
|
2016-05-11 08:16:41 +00:00
|
|
|
|
ignore = E221,E241,F403,F821,F999
|
2016-05-11 06:45:41 +00:00
|
|
|
|
max-line-length = 79
|