CorrelAid / datenguide-python

MIT License
34 stars 7 forks source link

mypy usage improvements #93

Open KonradUdoHannes opened 4 years ago

KonradUdoHannes commented 4 years ago

Description

In order to improve code quality and qa the mypy configuration could be improved, which includes. This would be particularly helpful with respect to external dependencies, such that imports don't default to the Any type.

Particular steps would be

KonradUdoHannes commented 4 years ago

In order to perform the systematic checks for completeness of definitions it would probably be best to use the disallow_untyped_defs flag in mypy. This could be added to configuration in the repository in general once this issue is addressed.