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
|
|
|
#
|
2017-10-23 12:57:46 +00:00
|
|
|
# These exceptions ar for Spack core files. We're slightly more lenient
|
|
|
|
# with packages. See .flake8_packages for that.
|
2016-05-11 08:25:40 +00:00
|
|
|
#
|
|
|
|
# Let people line things up nicely:
|
2016-08-22 17:07:50 +00:00
|
|
|
# - E129: visually indented line with same indent as next logical line
|
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
|
|
|
#
|
2016-05-26 21:27:15 +00:00
|
|
|
# Let people use terse Python features:
|
2017-04-25 18:01:25 +00:00
|
|
|
# - E731: lambda expressions
|
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
|
|
|
#
|
2018-06-27 16:31:21 +00:00
|
|
|
# Exempt to allow decorator classes to be lowercase, but follow otherwise:
|
|
|
|
# - N801: CapWords for class names.
|
|
|
|
#
|
2016-05-11 08:25:40 +00:00
|
|
|
[flake8]
|
2018-06-27 16:31:21 +00:00
|
|
|
ignore = E129,E221,E241,E272,E731,F999,N801
|
2016-05-11 06:45:41 +00:00
|
|
|
max-line-length = 79
|