You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
check/improve the mypy configuration files
introduce mypy stub files, i.e. .pyi files containing stubs for depdncies. These could either be from a repository if available or these could be written explicitly (for the subset of required functions).
systematically check the code for the presence of type annotations (especially for the return values) and fill in missing annotations. This is particularly important if functions don't have any annotations at all, as these are ignored by mypy
The text was updated successfully, but these errors were encountered:
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.
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
The text was updated successfully, but these errors were encountered: