#3970 closed enhancement

Type Annotations and updating of function for wormholetesting — at Version 7

Reported by: daniellee Owned by: daniellee
Priority: minor Milestone: User Documentation Goals
Component: unknown Version: n/a
Keywords: Type Annotations Cc:
Launchpad Bug:

Description (last modified by daniellee)

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.

Function in question: _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.

TODO:

  1. Update _verify() function.
  2. Type annotate functions.

Change History (7)

comment:1 Changed at 2023-01-31T17:14:50Z by daniellee

  • Description modified (diff)

comment:2 Changed at 2023-01-31T17:15:03Z by daniellee

  • Owner set to daniellee
  • Status changed from new to assigned

comment:3 Changed at 2023-01-31T17:15:16Z by daniellee

  • Description modified (diff)

comment:4 Changed at 2023-02-07T16:43:19Z by daniellee

  • Description modified (diff)
  • Summary changed from Type Annotations for wormhole and jsonbytes to Type Annotations for wormholetesting

comment:5 Changed at 2023-02-17T22:34:39Z by daniellee

  • Description modified (diff)

comment:6 Changed at 2023-02-17T22:34:56Z by daniellee

  • Summary changed from Type Annotations for wormholetesting to Type Annotations and refactoring for wormholetesting

comment:7 Changed at 2023-02-21T18:50:45Z by daniellee

  • Description modified (diff)
  • Summary changed from Type Annotations and refactoring for wormholetesting to Type Annotations and updating of function for wormholetesting
Note: See TracTickets for help on using tickets.