Actions
Feature #1079
closedStatic type checking with Mypy
Start date:
2019-11-13
Estimated time:
16.00 h
Description
Mypy is an optional static type checker for Python that aims to combine the benefits of dynamic (or "duck") typing and static typing.
Validations with Mypy will raise code quality and readability.
To test the application use this commands. The first is the "tolerant" one, the 3rd is the most "strict".
mypy runserver.py --ignore-missing-imports mypy runserver.py --ignore-missing-imports --disallow-untyped-defs mypy runserver.py --ignore-missing-imports --strict
Updated by Alexander Watzinger almost 5 years ago
- Subject changed from Adding static type checker Mypy to Static type checking with Mypy
Updated by Alexander Watzinger almost 5 years ago
- Status changed from In Progress to Closed
Finished Mypy checks with --ignore-missing-imports --disallow-untyped-defs. Except about 5 locations with added "type: ignore" it validates fine.
Actions