StackGuardian/tirith

🚀 Add Type Annotations

Offen

#180 geöffnet am 21.09.2024

 (5 Kommentare) (0 Reaktionen) (1 zugewiesene Person)Python (41 Forks)auto 404
enhancementgood first issuehacktoberfest

Repository-Metriken

Stars
 (168 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Issue: Several functions lack type annotations. Adding type hints can improve code readability and help with static type checking.

Solution: Go through the handler.py of all providers ( infracost, json, kubernetes, sg_workflow, terraform_plan ) and add type hints to functions .

Example:

def _get_exp_attribute(split_expressions: List[str], input_data: dict) -> List[Any]:

Contributor Guide