[tahoe-lafs-trac-stream] [Tahoe-LAFS] #3399: Evaluate adding mypy checks to code checks

Tahoe-LAFS trac at tahoe-lafs.org
Fri Sep 11 20:04:58 UTC 2020


#3399: Evaluate adding mypy checks to code checks
-----------------------------+------------------------------
     Reporter:  jaraco       |      Owner:  jaraco
         Type:  enhancement  |     Status:  assigned
     Priority:  normal       |  Milestone:  Support Python 3
    Component:  unknown      |    Version:  n/a
   Resolution:               |   Keywords:
Launchpad Bug:               |
-----------------------------+------------------------------

Comment (by jaraco):

 I imagine there are a few options forward:

 1. Amend mypy to support the foolscap interface(s).
 2. Update foolscap to be compatible with mypy conventions.
 3. Disable mypy checks for code that touches foolscap interfaces.

 Options (1) and (2) are likely to be expensive and possibly intractable
 efforts. It's uncertain what the scope of (3) would be or what effect that
 would have on the checks.

 I was unable to find any references in foolscap referencing mypy, so I
 suspect this issue has not been approached previously.

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


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