Fix N402 for nova/api
Fix N402 errors (single line docstring should end in a period) for nova/api, part of a larger attempt to stop ignoring our own hacking.py tests. Fix tests that look at docs in extensions Change-Id: I89d89d1fcf37c4e7740c36375da4c751d1b621ed
This commit is contained in:
		@@ -15,7 +15,7 @@
 | 
			
		||||
#    License for the specific language governing permissions and limitations
 | 
			
		||||
#    under the License.
 | 
			
		||||
 | 
			
		||||
"""Keypair management extension"""
 | 
			
		||||
"""Keypair management extension."""
 | 
			
		||||
 | 
			
		||||
import webob
 | 
			
		||||
import webob.exc
 | 
			
		||||
@@ -49,7 +49,7 @@ class KeypairsTemplate(xmlutil.TemplateBuilder):
 | 
			
		||||
 | 
			
		||||
class KeypairController(object):
 | 
			
		||||
 | 
			
		||||
    """Keypair API controller for the OpenStack API """
 | 
			
		||||
    """Keypair API controller for the OpenStack API."""
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        self.api = compute_api.KeypairAPI()
 | 
			
		||||
 | 
			
		||||
@@ -187,7 +187,7 @@ class Controller(servers.Controller):
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class Keypairs(extensions.ExtensionDescriptor):
 | 
			
		||||
    """Keypair Support"""
 | 
			
		||||
    """Keypair Support."""
 | 
			
		||||
 | 
			
		||||
    name = "Keypairs"
 | 
			
		||||
    alias = "os-keypairs"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user