summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2018-10-02 02:24:04 -0500
committerMichael Merickel <michael@merickel.org>2018-10-02 02:24:04 -0500
commitae79dfab339309f150e63be92c8ec0c58e13043e (patch)
treebcdcc3d848e041d7c34e146905d7b9fbba6baabd
parenta3d3a289e7a201c311f9fca6abe40343e29c9696 (diff)
downloadpyramid-ae79dfab339309f150e63be92c8ec0c58e13043e.tar.gz
pyramid-ae79dfab339309f150e63be92c8ec0c58e13043e.tar.bz2
pyramid-ae79dfab339309f150e63be92c8ec0c58e13043e.zip
fix lints
-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