Fix remaining flake8 issues

Disabling W504 and W605 for now as there are too many instances.
This commit is contained in:
Chih-Hsuan Yen 2019-10-27 21:00:01 +08:00
commit 84fb52d0a2
No known key found for this signature in database
GPG key ID: 0453A6CA23C56315
10 changed files with 28 additions and 35 deletions

View file

@ -244,7 +244,7 @@ class ResourceGroupsTaggingAPIBackend(BaseBackend):
def get_kms_tags(kms_key_id):
result = []
for tag in self.kms_backend.list_resource_tags(kms_key_id):
result.append({'Key': tag['TagKey'], 'Value': tag['TagValue']})
result.append({'Key': tag['TagKey'], 'Value': tag['TagValue']})
return result
if not resource_type_filters or 'kms' in resource_type_filters: