Merge "docs: Turn on warning-as-error"
This commit is contained in:
commit
cb0a791c4d
|
@ -269,14 +269,14 @@ class ACL(object):
|
|||
self._operation_acls.append(new_acl)
|
||||
|
||||
def _get_operation_acl(self, operation_type):
|
||||
return next((acl for acl in self._operation_acls
|
||||
if acl.operation_type == operation_type), None)
|
||||
return next((acl for acl in self._operation_acls
|
||||
if acl.operation_type == operation_type), None)
|
||||
|
||||
def get(self, operation_type):
|
||||
"""Get operation specific ACL instance.
|
||||
|
||||
:param str operation_type: Type indicating which operation's ACL
|
||||
setting is needed.
|
||||
setting is needed.
|
||||
"""
|
||||
return self._get_operation_acl(operation_type)
|
||||
|
||||
|
|
|
@ -5,8 +5,7 @@ Reference
|
|||
Client
|
||||
======
|
||||
|
||||
.. autoclass:: barbicanclient.client.Client
|
||||
:members:
|
||||
.. autofunction:: barbicanclient.client.Client
|
||||
|
||||
Secrets
|
||||
=======
|
||||
|
|
2
tox.ini
2
tox.ini
|
@ -42,7 +42,7 @@ deps =
|
|||
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
|
||||
-r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/doc/requirements.txt
|
||||
commands = sphinx-build -b html doc/source doc/build/html
|
||||
commands = sphinx-build -b html -W doc/source doc/build/html
|
||||
|
||||
[testenv:functional]
|
||||
# This tox env is purely to make local test development easier
|
||||
|
|
Loading…
Reference in New Issue