Skip to content

Commit

Permalink
fix mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
tjwald committed Jan 22, 2025
1 parent d95e9aa commit 01e7554
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions checkov/bicep/graph_builder/local_graph.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from __future__ import annotations

import logging
from enum import Enum
from enum import StrEnum
from pathlib import Path
from typing import Any, TYPE_CHECKING, overload, Literal

Expand Down Expand Up @@ -34,7 +34,7 @@
BicepElementsAlias: TypeAlias = Literal["globals", "parameters", "variables", "resources", "modules", "outputs"]


class BicepElements(str, Enum):
class BicepElements(StrEnum):
GLOBALS: BicepElements = "globals"
PARAMETERS: BicepElements = "parameters"
VARIABLES: BicepElements = "variables"
Expand Down

0 comments on commit 01e7554

Please sign in to comment.