summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorcewing <cris@crisewing.com>2017-05-22 12:09:41 -0700
committercewing <cris@crisewing.com>2017-05-22 12:09:41 -0700
commitb033b966420b673bf0222c3576d3238773433d0f (patch)
treeba5d63e118ba5ebbad901b5c1558adff04224686 /setup.cfg
parent7c680930d09d20bfa05249e01553e6488e61f1ca (diff)
parent8c4d422965b633f31967ceed1e6cc25cc616d0bf (diff)
downloadpyramid-b033b966420b673bf0222c3576d3238773433d0f.tar.gz
pyramid-b033b966420b673bf0222c3576d3238773433d0f.tar.bz2
pyramid-b033b966420b673bf0222c3576d3238773433d0f.zip
Merge branch 'master' into issue.2614
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg51
1 files changed, 50 insertions, 1 deletions
diff --git a/setup.cfg b/setup.cfg
index b52d24bdb..6f1f33760 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -13,7 +13,56 @@ docs = develop easy_install pyramid[docs]
[bdist_wheel]
universal = 1
+[metadata]
+license_file = LICENSE.txt
+
[flake8]
-ignore = E301,E302,E731,E261,E123,E121,E128,E129,E125,W291,E501,W293,E303,W391,E266,E231,E201,E202,E127,E262,E265
+ignore =
+ # E121: continuation line under-indented for hanging indent
+ E121,
+ # E123: closing bracket does not match indentation of opening bracket's line
+ E123,
+ # E125: continuation line with same indent as next logical line
+ E125,
+ # E127: continuation line over-indented for visual indent
+ E127,
+ # E128: continuation line under-indented for visual indent
+ E128,
+ # E129: visually indented line with same indent as next logical line
+ E129,
+ # E201: whitespace after '('
+ E201,
+ # E202: whitespace before ')'
+ E202,
+ # E231: missing whitespace after ',', ';', or ':'
+ E231,
+ # E261: at least two spaces before inline comment
+ E261,
+ # E262: inline comment should start with '# '
+ E262,
+ # E265: block comment should start with '# '
+ E265,
+ # E266: too many leading '#' for block comment
+ E266,
+ # E301: expected 1 blank line, found 0
+ E301,
+ # E302: expected 2 blank lines, found 0
+ E302,
+ # E303: too many blank lines (3)
+ E303,
+ # E305: expected 2 blank lines after class or function definition, found 1
+ E305,
+ # E306: expected 1 blank line before a nested definition, found 0
+ E306,
+ # E501: line too long (82 > 79 characters)
+ E501,
+ # E731: do not assign a lambda expression, use a def
+ E731,
+ # W291: trailing whitespace
+ W291,
+ # W293: blank line contains whitespace
+ W293,
+ # W391: blank line at end of file
+ W391
exclude = pyramid/tests/,pyramid/compat.py,pyramid/resource.py
show-source = True