[tahoe-lafs-trac-stream] [Tahoe-LAFS] #3970: Type Annotations for wormholetesting (was: Type Annotations for wormhole and jsonbytes)

Tahoe-LAFS trac at tahoe-lafs.org
Tue Feb 7 16:43:19 UTC 2023


#3970: Type Annotations for wormholetesting
-----------------------------+--------------------------------------
     Reporter:  daniellee    |      Owner:  daniellee
         Type:  enhancement  |     Status:  assigned
     Priority:  minor        |  Milestone:  User Documentation Goals
    Component:  unknown      |    Version:  n/a
   Resolution:               |   Keywords:  Type Annotations
Launchpad Bug:               |
-----------------------------+--------------------------------------
Description changed by daniellee:

Old description:

> Type annotations added for wormhole.py, jsonbyte4s.py and related files.
> Note jsonbytes seems to have an issue with iterencode() functions due to
> Liskov's subsitution principle.

New description:

 wormholetesting.py seems to throw a lot of errors when using mypy
 --strict. I think this is a good place to start type annotations as it not
 related to that many other files.

--

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3970#comment:4>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list