More linting.

This commit is contained in:
Steve Pulec 2019-11-22 09:39:07 -05:00
commit a9fe5d462c
5 changed files with 5 additions and 15 deletions

View file

@ -788,9 +788,7 @@ class AccountSummary(BaseModel):
self._groups_per_user_quota = 10
self._attached_policies_per_user_quota = 10
self._policies_quota = 1500
self._account_mfa_enabled = (
0
) # Haven't found any information being able to activate MFA for the root account programmatically
self._account_mfa_enabled = 0 # Haven't found any information being able to activate MFA for the root account programmatically
self._access_keys_per_user_quota = 2
self._assume_role_policy_size_quota = 2048
self._policy_versions_in_use_quota = 10000

View file

@ -88,9 +88,7 @@ class IAMPolicyDocumentValidator:
self._policy_document = policy_document
self._policy_json = {}
self._statements = []
self._resource_error = (
""
) # the first resource error found that does not generate a legacy parsing error
self._resource_error = "" # the first resource error found that does not generate a legacy parsing error
def validate(self):
try: