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

Tahoe-LAFS trac at tahoe-lafs.org
Mon Nov 23 20:04:00 UTC 2020


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

Comment (by jaraco):

 Now I'm looking at this error:

 {{{
 src/allmydata/storage/immutable.py:205: error: 'BucketWriter' is missing
 following 'RIBucketWriter' interface members: abort, close, write.
 src/allmydata/storage/immutable.py:304: error: 'BucketReader' is missing
 following 'RIBucketReader' interface members: advise_corrupt_share, read.
 }}}

 Indeed, the RIBucketWriter and RIBucketReader [[https://github.com/tahoe-
 lafs/tahoe-
 lafs/blob/729a5a0779259303e8546bd60df454e55d12e975/src/allmydata/interfaces.py#L56-L72|define
 those methods]], but the BucketReader/Writer do not. Is that a feature of
 the RemoteInterface? What is the rationale behind this arrangement?

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


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