StackGuardian/tirith

🚀 Add Type Annotations

开放

#180 创建于 2024年9月21日

 (5 条评论) (0 个反应) (1 位负责人)Python (41 个派生)auto 404
enhancementgood first issuehacktoberfest

仓库指标

星标
 (168 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南