Merge "Fix ignore pep8 errors and a typo"

This commit is contained in:
Jenkins 2016-01-22 01:26:55 +00:00 committed by Gerrit Code Review
commit c6758d07ce
2 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ class ResourcePlugin(object):
def _model_query(self, context):
query = context.session.query(self.delegate.model)
# NOTE(jkoelker) non-admin queries are scoped to their tenant_id
# NOTE(jkoelker) non-admin queries are scoped to their tenant_id
if not context.is_admin and hasattr(self.delegate.model, 'tenant_id'):
query = query.filter(
self.delegate.model.tenant_id == context.tenant_id)

View File

@ -29,7 +29,7 @@ setenv = NOSE_WITH_COVERAGE=1
commands = {posargs}
[flake8]
ignore = E123,E133,E226,E241,E242,E731,F821
ignore = E133,E226,E241,E242,E731,F821
[testenv:releasenotes]
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html