StackGuardian / tirith

StackGuardian Policy Framework
Apache License 2.0
125 stars 41 forks source link

🚀 Add Type Annotations #180

Open AkashS0510 opened 1 month ago

AkashS0510 commented 1 month ago

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

zafar-hussain commented 1 month ago

Please assign the issue to me,

cheers

AkashS0510 commented 1 month ago

@zafar-hussain Sure, I have assigned it to you.

kushal9897 commented 1 month ago

I would like to work on this

zafar-hussain commented 1 month ago

@zafar-hussain Sure, I have assigned it to you.

@AkashS0510 . Please do assign this issue to another applicant

cheers

AkashS0510 commented 1 month ago

@kushal9897 assigning it to you