Skip to content

🚀 Feature: use type hints #61

@Ananya2001-an

Description

@Ananya2001-an

🔖 Feature description

In python we don't have strict type checking like in TS but we can still add type hints which would be good for better readability and maintainability. Also we can use a famous python package called mypy to implement some strict type checking if possible; not a necessity tho :)

🎤 Pitch

Like maybe something like this:

def get_image(self, url, width: float = None, height: float = None) -> Optional[str]:

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions