Merge "Fixing D200 PEP257 violation."
This commit is contained in:
@@ -15,9 +15,7 @@
|
|||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
"""
|
"""Base utilities to build API operation managers and objects on top of."""
|
||||||
Base utilities to build API operation managers and objects on top of.
|
|
||||||
"""
|
|
||||||
|
|
||||||
import abc
|
import abc
|
||||||
import copy
|
import copy
|
||||||
|
@@ -15,9 +15,7 @@
|
|||||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
"""
|
"""OpenStack Client interface. Handles the REST calls and responses."""
|
||||||
OpenStack Client interface. Handles the REST calls and responses.
|
|
||||||
"""
|
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
import warnings
|
import warnings
|
||||||
@@ -637,9 +635,7 @@ class HTTPClient(baseclient.Client, base.BaseAuthPlugin):
|
|||||||
return (keyring_key, auth_ref)
|
return (keyring_key, auth_ref)
|
||||||
|
|
||||||
def store_auth_ref_into_keyring(self, keyring_key):
|
def store_auth_ref_into_keyring(self, keyring_key):
|
||||||
"""Store auth_ref into keyring.
|
"""Store auth_ref into keyring."""
|
||||||
|
|
||||||
"""
|
|
||||||
if self.use_keyring:
|
if self.use_keyring:
|
||||||
try:
|
try:
|
||||||
keyring.set_password("keystoneclient_auth",
|
keyring.set_password("keystoneclient_auth",
|
||||||
|
3
tox.ini
3
tox.ini
@@ -46,8 +46,7 @@ passenv = OS_*
|
|||||||
# D103: Missing docstring in public function
|
# D103: Missing docstring in public function
|
||||||
# D104: Missing docstring in public package
|
# D104: Missing docstring in public package
|
||||||
# D105: Missing docstring in magic method
|
# D105: Missing docstring in magic method
|
||||||
# D200: One-line docstring should fit on one line with quotes
|
ignore = D100,D101,D102,D103,D104,D105
|
||||||
ignore = D100,D101,D102,D103,D104,D105,D200
|
|
||||||
show-source = True
|
show-source = True
|
||||||
exclude = .venv,.tox,dist,doc,*egg,build,*openstack/common*
|
exclude = .venv,.tox,dist,doc,*egg,build,*openstack/common*
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user