Skip to content

Advanced Chore: Implement strict static type checking with Mypy #1383

Description

@basantnema31

Description

Python's dynamic typing can lead to hidden TypeError bugs at runtime. For an educational repository, demonstrating modern Python type hinting is crucial.

Proposed Solution

I propose introducing static typing to the core utility scripts. I will add type hints (def func(a: int) -> str:) and configure a mypy.ini file to enforce strict type checking via a GitHub Action on PRs.

I would love to work on this advanced Python architecture issue under the GSSoC '24 program! Could you please assign it to me?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions