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
Add typing support to pyexasol by incorporating type hints and re-enabling type checking for all files and paths in the pyproject.toml in the [[tool.mypy.overrides]] section.
Details
This feature aims to enhance the static typing support of the pyexasol library. Type hints should be added to all relevant functions and methods within the codebase. Additionally, type checking should be re-enabled for all files and paths specified in the [[tool.mypy.overrides]] section of the pyproject.toml file.
Background & Context
Implementing type hints in the pyexasol codebase will lead to better developer experience and reduced runtime errors as types are checked statically. This improves code quality and maintainability. Moreover, enabling MyPy for all files and paths ensures that the typing system is comprehensively utilized, aligning with modern Python development best practices.
Examples
Here are some examples showing how type hints can be used:
Summary
Add typing support to
pyexasol
by incorporating type hints and re-enabling type checking for all files and paths in thepyproject.toml
in the[[tool.mypy.overrides]]
section.Details
This feature aims to enhance the static typing support of the pyexasol library. Type hints should be added to all relevant functions and methods within the codebase. Additionally, type checking should be re-enabled for all files and paths specified in the
[[tool.mypy.overrides]]
section of the pyproject.toml file.Background & Context
Implementing type hints in the pyexasol codebase will lead to better developer experience and reduced runtime errors as types are checked statically. This improves code quality and maintainability. Moreover, enabling MyPy for all files and paths ensures that the typing system is comprehensively utilized, aligning with modern Python development best practices.
Examples
Here are some examples showing how type hints can be used:
Before:
After:
References
Task(s)
[[tool.mypy.overrides]]
sectionThe text was updated successfully, but these errors were encountered: