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?
Description
Python's dynamic typing can lead to hidden
TypeErrorbugs 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 amypy.inifile 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?