summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/narr/viewconfig.rst2
-rw-r--r--setup.cfg4
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