Add type hint to remaining pattern modules (#410) * Adding typehint * Update __exit__ type * fix black formatting --------- Co-authored-by: Roy, Debakar <debakar.roy@intel.com> Co-authored-by: Sakis Kasampalis <faif@users.noreply.github.com>
Recent Commits to python-patterns:master
-
Add type hint to remaining pattern modules (#410)
-
Translate several doctest tests to pytest (#414)
Translate several doctest tests to pytest (#414) Co-authored-by: Benjamin Townsend <germin8@jamminangels.net> Co-authored-by: Sakis Kasampalis <faif@users.noreply.github.com>
-
Remove pluggable-libs submodule and cleanup (#433) (#447)
Remove pluggable-libs submodule and cleanup (#433) (#447) * Remove pluggable-libs submodule and cleanup (#433) * Fix GitHub Actions output format error for multiline file lists * Add requirements-dev.txt so CI can install dev dependencies --------- Co-authored-by: Sakis Kasampalis <faif@users.noreply.github.com>
-
Cleanup pluggable-libs & fix CI file output (#433, #447) (#448)
Cleanup pluggable-libs & fix CI file output (#433, #447) (#448) * Remove pluggable-libs submodule and cleanup (#433) * Fix GitHub Actions output format error for multiline file lists * Add requirements-dev.txt so CI can install dev dependencies
-
Add type hints and standardized docstrings to observer.py (#454)
Add type hints and standardized docstrings to observer.py (#454)
-
Fix typo in top comment of catalog.py (#453)
Fix typo in top comment of catalog.py (#453)
-
fix: :bug: Fix potential warning in factory.py (#455)
fix: :bug: Fix potential warning in factory.py (#455) Use ellipsis replace pass to avoid potential warning: ``` "resource": "/d:/Github/Python/python-patterns/patterns/creational/factory.py", "owner": "pylance4", "value": "reportReturnType", "path": "/microsoft/pylance-release/blob/main/docs/diagnostics/reportReturnType.md", "severity": 8, "message": "Function with declared return type \"str\" must return value on all code paths\n \"None\" is not assignable to \"str\"", "source": "Pylance", "startLineNumber": 29, "startColumn": 37, "endLineNumber": 29, "endColumn": 40, "origin": "extHost1" }] ``` Using VS Code with Pylance, Python debugger, and Black Formatter.