format .flake8 more nicely.
This commit is contained in:
parent
f158375054
commit
c512b37a4e
1 changed files with 16 additions and 8 deletions
24
.flake8
24
.flake8
|
@ -1,12 +1,20 @@
|
||||||
# -*- conf -*-
|
# -*- 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]
|
[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)
|
|
||||||
# F999: Undefined undefined name (needed for build commands)
|
|
||||||
#
|
|
||||||
ignore = E221,E241,F403,F821,F999
|
ignore = E221,E241,F403,F821,F999
|
||||||
max-line-length = 79
|
max-line-length = 79
|
||||||
|
|
Loading…
Reference in a new issue