Changes between Version 5 and Version 7 of Ticket #3970
- Timestamp:
- 2023-02-21T18:50:45Z (21 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #3970
- Property Summary changed from Type Annotations for wormholetesting to Type Annotations and updating of function for wormholetesting
-
Ticket #3970 – Description
v5 v7 1 Using mypy with the `--strict` flag to type annotate file I encountered a candidate for refactoring in this file and I thought it might be a good place to start. There is not much to type annotate.1 While using mypy with the `--strict` flag to type annotate the wormholetesting.py file I encountered a function that should be updated in this file and I thought it might be a good place to start. 2 2 3 Function in question: 3 4 `_verify()` function uses a deprecated function `getargspec()`. We aim to update this function to use the new `getfullargspec()` and yet maintain the strictness of the check. 5 6 TODO: 7 1. Update _verify() function. 8 2. Type annotate functions.