2016-05-11 06:45:41 +00:00
|
|
|
# -*- conf -*-
|
2017-10-23 12:57:46 +00:00
|
|
|
# flake8 settings for Spack core files.
|
2016-05-11 08:25:40 +00:00
|
|
|
#
|
2019-01-21 11:35:11 +00:00
|
|
|
# These exceptions are for Spack core files. We're slightly more lenient
|
2017-10-23 12:57:46 +00:00
|
|
|
# with packages. See .flake8_packages for that.
|
2016-05-11 08:25:40 +00:00
|
|
|
#
|
2019-01-21 11:35:11 +00:00
|
|
|
# E1: Indentation
|
2016-08-22 17:07:50 +00:00
|
|
|
# - E129: visually indented line with same indent as next logical line
|
2019-01-21 11:35:11 +00:00
|
|
|
#
|
|
|
|
# E2: Whitespace
|
2016-05-11 08:25:40 +00:00
|
|
|
# - E221: multiple spaces before operator
|
2016-08-22 17:07:50 +00:00
|
|
|
# - E241: multiple spaces after ','
|
|
|
|
# - E272: multiple spaces before keyword
|
2016-05-11 06:45:41 +00:00
|
|
|
#
|
2019-01-21 11:35:11 +00:00
|
|
|
# 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
|
2016-05-26 21:27:15 +00:00
|
|
|
#
|
2017-04-25 18:01:25 +00:00
|
|
|
# These are required to get the package.py files to test clean:
|
2016-08-22 17:07:50 +00:00
|
|
|
# - F999: syntax error in doctest
|
2016-05-11 08:25:40 +00:00
|
|
|
#
|
2019-01-21 11:35:11 +00:00
|
|
|
# N8: PEP8-naming
|
|
|
|
# - N801: class names should use CapWords convention
|
2018-06-27 16:31:21 +00:00
|
|
|
#
|
2016-05-11 08:25:40 +00:00
|
|
|
[flake8]
|
2019-01-21 11:35:11 +00:00
|
|
|
ignore = E129,E221,E241,E272,E731,W503,W504,F999,N801
|
2016-05-11 06:45:41 +00:00
|
|
|
max-line-length = 79
|