StackGuardian/tirith

🚀 Add Type Annotations

Aberta

#180 aberto em 21 de set. de 2024

 (5 comentários) (0 reação) (1 responsável)Python (41 forks)auto 404
enhancementgood first issuehacktoberfest

Métricas do repositório

Stars
 (168 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

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]:

Guia do colaborador