spack/.flake8

33 lines
947 B
Text
Raw Normal View History

# -*- conf -*-
# flake8 settings for Spack core files.
2016-05-11 08:25:40 +00:00
#
# These exceptions are for Spack core files. We're slightly more lenient
# with packages. See .flake8_packages for that.
2016-05-11 08:25:40 +00:00
#
# E1: Indentation
# - E129: visually indented line with same indent as next logical line
#
# E2: Whitespace
2016-05-11 08:25:40 +00:00
# - E221: multiple spaces before operator
# - E241: multiple spaces after ','
# - E272: multiple spaces before keyword
#
# E7: Statement
# - E731: do not assign a lambda expression, use a def
#
# W5: Line break warning
# - W503: line break before binary operator
# - W504: line break after binary operator
#
# These are required to get the package.py files to test clean:
# - F999: syntax error in doctest
2016-05-11 08:25:40 +00:00
#
# N8: PEP8-naming
# - N801: class names should use CapWords convention
# - N813: camelcase imported as lowercase
# - N814: camelcase imported as constant
#
2016-05-11 08:25:40 +00:00
[flake8]
ignore = E129,E221,E241,E272,E731,W503,W504,F999,N801,N813,N814
max-line-length = 79