diff options
| author | John Anderson <sontek@gmail.com> | 2015-04-13 22:38:29 -0400 |
|---|---|---|
| committer | John Anderson <sontek@gmail.com> | 2015-04-13 22:38:29 -0400 |
| commit | 03c11e8f3c66e58af3c5de0ffacfe024ce9ae491 (patch) | |
| tree | c7b6c98f7b1acf357c830025151b1a829dc5abe1 | |
| parent | 17279b4da22af5caf23d402b29cef0f729408474 (diff) | |
| download | pyramid-03c11e8f3c66e58af3c5de0ffacfe024ce9ae491.tar.gz pyramid-03c11e8f3c66e58af3c5de0ffacfe024ce9ae491.tar.bz2 pyramid-03c11e8f3c66e58af3c5de0ffacfe024ce9ae491.zip | |
Ignore more pep8 checks and add to travis
| -rw-r--r-- | .travis.yml | 1 | ||||
| -rw-r--r-- | pyramid/view.py | 6 | ||||
| -rw-r--r-- | setup.cfg | 2 |
3 files changed, 5 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index 42b3073c7..ba077d342 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,6 +13,7 @@ env: - TOXENV=py2-docs - TOXENV=py3-docs - TOXENV=py2-cover,py3-cover,coverage + - TOXENV=pep8 install: - travis_retry pip install tox diff --git a/pyramid/view.py b/pyramid/view.py index ed151d196..005e81148 100644 --- a/pyramid/view.py +++ b/pyramid/view.py @@ -56,7 +56,7 @@ def render_view_to_response(context, request, name='', secure=True): context, context_iface, name, - secure = secure, + secure=secure, ) return response # NB: might be None @@ -451,9 +451,9 @@ def _find_views( view_types=None, view_classifier=None, ): - if view_types is None: + if view_types is None: view_types = (IView, ISecuredView, IMultiView) - if view_classifier is None: + if view_classifier is None: view_classifier = IViewClassifier registered = registry.adapters.registered cache = registry._view_lookup_cache @@ -14,6 +14,6 @@ docs = develop easy_install pyramid[docs] universal = 1 [flake8] -ignore = E301,E302,E731,E261,E123,E121,E128,E129,E125,W291,E501,W293,E303,W391,E266,E231,E201,E202,E127,E262 +ignore = E301,E302,E731,E261,E123,E121,E128,E129,E125,W291,E501,W293,E303,W391,E266,E231,E201,E202,E127,E262,E265 exclude = pyramid/tests/,pyramid/compat.py,pyramid/resource.py show-source = True |
