[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:00:03 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):

 Taking a look at the interfaces, I see that they're using
 `foolscap.api.RemoteInterface`, which
 [[https://github.com/warner/foolscap/blob/latest-release/doc/using-
 foolscap.rst#constraints-and-remoteinterfaces|explicitly states]] that the
 conventional "self" arguments are disallowed.

 So it seems at first blush that mypy and foolscap are mutually
 incompatible.

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


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