Fixed linting errors.

This commit is contained in:
acsbendi 2019-07-01 19:07:22 +02:00
parent ed2682582f
commit e9dfa890f4

View File

@ -88,9 +88,9 @@ VALID_RESOURCE_PATH_STARTING_VALUES = {
class IAMPolicyDocumentValidator: class IAMPolicyDocumentValidator:
def __init__(self, policy_document: str): def __init__(self, policy_document):
self._policy_document: str = policy_document self._policy_document = policy_document
self._policy_json: dict = {} self._policy_json = {}
self._statements = [] 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