Skip to content

Commit

Permalink
flake8 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tsmithv11 committed Jan 2, 2025
1 parent d53bfba commit c66d07f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ def scan_resource_conf(self, conf: dict[str, list[Any]]) -> CheckResult:
return CheckResult.UNKNOWN

def get_evaluated_keys(self) -> List[str]:
return [
"configuration",
"configuration/[0]/EncryptionConfiguration/AtRestEncryptionConfiguration/LocalDiskEncryptionConfiguration/EnableEbsEncryption"
]
return [
"configuration",
"configuration/[0]/EncryptionConfiguration/AtRestEncryptionConfiguration/LocalDiskEncryptionConfiguration/EnableEbsEncryption"
]


check = EMRClusterConfEncryptsEBS()
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from __future__ import annotations

from typing import Any, List
from typing import Any

from checkov.common.util.type_forcers import force_int
from checkov.terraform.checks.resource.base_resource_check import BaseResourceCheck
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ def scan_resource_conf(self, conf):
return CheckResult.FAILED
return CheckResult.PASSED


def get_evaluated_keys(self) -> List[str]:
return ["protocols"]


check = TransferServerAllowsOnlySecureProtocols()

0 comments on commit c66d07f

Please sign in to comment.