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

貢獻者指南