StackGuardian/tirith

🚀 Add Type Annotations

オヌプン

#180 opened on 2024/09/21

 (5 件のコメント) (0 件のリアクション) (1 人の担圓者)Python (41 件のフォヌク)auto 404
enhancementgood first issuehacktoberfest

Repository metrics

Stars
 (168 個のスタヌ)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビュヌタヌガむド