-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add full typing support to the library. (#87)
In detail: - MyPy and available type stubs added to dev dependencies. - Type annotations are used everywhere. Abstract types (Mapping etc.) are preferred. The library passes mypy --strict tests. - Minor logic changes and new asserts to support typing. - Introduction of abstract methods in DrainBase. - 'parameter_extraction_cache_capacity' is now correctly parsed as an int. - py.typed marker added (fixes #84). Signed-off-by: Simon Dierl <simon.dierl@cs.tu-dortmund.de> Co-authored-by: Superskyyy <Superskyyy@outlook.com>
- Loading branch information
1 parent
76d12de
commit c7496f6
Showing
14 changed files
with
509 additions
and
150 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.