0d6e73771b
W503 and W504 are issued for line breaks before or after binary operators (respectively). This allows either approach (explicitly instructing flake8 to ignore both of these cases).
24 lines
776 B
INI
24 lines
776 B
INI
# -*- conf -*-
|
|
# flake8 settings for Spack core files.
|
|
#
|
|
# 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
|
|
# - E221: multiple spaces before operator
|
|
# - E241: multiple spaces after ','
|
|
# - E272: multiple spaces before keyword
|
|
#
|
|
# Let people use terse Python features:
|
|
# - E731: lambda expressions
|
|
#
|
|
# These are required to get the package.py files to test clean:
|
|
# - F999: syntax error in doctest
|
|
#
|
|
# Exempt to allow decorator classes to be lowercase, but follow otherwise:
|
|
# - N801: CapWords for class names.
|
|
#
|
|
[flake8]
|
|
ignore = E129,E221,E241,E272,E731,F999,N801,W503,W504
|
|
max-line-length = 79
|