Cleanup lints.
This commit is contained in:
parent
c271e31745
commit
0e2fdf94f9
3
Makefile
3
Makefile
@ -4,6 +4,9 @@ init:
|
||||
@python setup.py develop
|
||||
@pip install -r requirements.txt
|
||||
|
||||
lint:
|
||||
flake8 moto
|
||||
|
||||
test:
|
||||
rm -f .coverage
|
||||
rm -rf cover
|
||||
|
@ -365,7 +365,7 @@ class ResourceMap(collections.Mapping):
|
||||
condition, self._parsed_resources, self.lazy_condition_map)
|
||||
|
||||
for condition_name in self.lazy_condition_map:
|
||||
_ = self.lazy_condition_map[condition_name]
|
||||
self.lazy_condition_map[condition_name]
|
||||
|
||||
def create(self):
|
||||
self.load_mapping()
|
||||
|
@ -349,7 +349,6 @@ class NetworkInterfaceBackend(object):
|
||||
return generic_filter(filters, enis)
|
||||
|
||||
|
||||
|
||||
class Instance(TaggedEC2Resource, BotoInstance):
|
||||
def __init__(self, ec2_backend, image_id, user_data, security_groups, **kwargs):
|
||||
super(Instance, self).__init__()
|
||||
|
@ -232,7 +232,6 @@ class IamResponse(BaseResponse):
|
||||
template = self.response_template(USER_TEMPLATE)
|
||||
return template.render(action='Create', user=user)
|
||||
|
||||
|
||||
def get_user(self):
|
||||
user_name = self._get_param('UserName')
|
||||
user = iam_backend.get_user(user_name)
|
||||
|
Loading…
Reference in New Issue
Block a user