-
-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Annotate core functions and remove sphinx style argument types (#205)
* Annotate core functions and remove sphinx style argument types * Tidy up * Fix type annotations on config object * Remove variable reuse * Add missing import for raw operator. Add pyright task * Be more explicit with the git command args to detect the overload * Install dependencies. Fix potentially (although unreachable) unbound value errors * Patch mock git function * Annotate metrics and state modules. Pin gitpython since the arguments are being fixed. * Update pytest-cov * Start annotation of cache config and state modules * Annotate all of cache module * fix types for archivers * use generics for base types and named tuples * add missing docstrings * de-dataclass * reformat * reformat * use abstract methods * remove unused import * fix list-metrics command * Refactor wily config into submodule to reduce cyclical imports * Move defaults into separate submodule * Update git imports * Force tabulate range * Fix a bug in the archiver fallback sequence * Cleanup temp paths * Update mypy call * Don't use argument cls in generics, not supported in Python 3.7,3.8 * Update metric type field name * Update list_metrics * Update some missing return values, remove more docstring types * Add missing import
- Loading branch information
1 parent
594abe2
commit 8eb4416
Showing
35 changed files
with
593 additions
and
585 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
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
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.