From ae79dfab339309f150e63be92c8ec0c58e13043e Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Tue, 2 Oct 2018 02:24:04 -0500 Subject: fix lints --- docs/narr/viewconfig.rst | 2 +- setup.cfg | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/narr/viewconfig.rst b/docs/narr/viewconfig.rst index 7e6617b78..c44109661 100644 --- a/docs/narr/viewconfig.rst +++ b/docs/narr/viewconfig.rst @@ -1090,7 +1090,7 @@ In this case, the ``application/json`` view should always be selected in cases w .. _default_accept_ordering: Default Accept Ordering -+++++++++++++++++++++++ +~~~~~~~~~~~~~~~~~~~~~~~ :app:`Pyramid` will always sort multiple views with the same ``(name, context, route_name)`` first by the specificity of the ``accept`` offer. This means that ``text/plain`` will always be offered before ``text/*``. diff --git a/setup.cfg b/setup.cfg index 3bf28ee15..cb74bd24c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -63,7 +63,9 @@ ignore = # W293: blank line contains whitespace W293, # W391: blank line at end of file - W391 + W391, + # W503: line break before binary operator + W503 exclude = pyramid/tests/,pyramid/compat.py,pyramid/resource.py show-source = True -- cgit v1.2.3