Commit Graph

14736 Commits

Author SHA1 Message Date
Itamar Turner-Trauring 22c328d6d3 More debytification. 2020-11-30 17:41:15 -05:00
Sajith Sasidharan df3ec2a1d4 Try to trigger image building 2020-11-30 17:33:43 -05:00
Sajith Sasidharan ff49414ae9 Use Tor project's new repository signing key
Fix for https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3542
2020-11-30 17:20:50 -05:00
Itamar Turner-Trauring 67694889da Some progress towards ripping out furls-as-bytes. 2020-11-30 17:20:39 -05:00
Itamar Turner-Trauring 27102c0d89 Merge remote-tracking branch 'origin/master' into 3514.test-introducer-python-3 2020-11-30 16:47:21 -05:00
Itamar Turner-Trauring 8615c1ade8 Try to fix sorting on Python 3. 2020-11-30 16:45:14 -05:00
Itamar Turner-Trauring eaca639b6f Undo changes that should probably be in a different branch. 2020-11-30 16:28:26 -05:00
Itamar Turner-Trauring 413cf75d54 Uses clearer issuperset(). 2020-11-30 16:25:24 -05:00
Itamar Turner-Trauring 9f7ae56a82 Make the explanation less nonsensical. 2020-11-30 16:24:27 -05:00
Jean-Paul Calderone 17ed8afd2f Make the new test data files installable
There's an existing rule that matches *.txt
2020-11-30 13:37:21 -05:00
Jean-Paul Calderone ef2f7e6136 unused import 2020-11-30 13:27:46 -05:00
Jean-Paul Calderone 2ac4af7fb4 Add some direct tests for `NodeMaker.create_from_uri` 2020-11-30 13:26:32 -05:00
Jean-Paul Calderone 4ca45aaa93 Catch basedir type errors earlier 2020-11-30 13:23:18 -05:00
Jean-Paul Calderone 01ab8d3ee9 Don't look before you leap 2020-11-30 08:56:45 -05:00
Jean-Paul Calderone b02a4f73b6 news fragment 2020-11-30 08:56:37 -05:00
Jason R. Coombs d2d3f1f4a9 Suppress type errors in test_checker 2020-11-29 16:33:25 -05:00
Jason R. Coombs 86f88a4aa5 Satisfy type checks in test_dirnode 2020-11-29 16:32:19 -05:00
Jason R. Coombs 54e4549836 Satisfy type check in test_helper.FakeClient. 2020-11-29 16:30:13 -05:00
Jason R. Coombs fc19d1baf4 Suppress errors in test_sftp 2020-11-29 16:26:36 -05:00
Jason R. Coombs b0803a2ac0 Suppress errors in test_web due to ambiguous MRO 2020-11-29 16:24:20 -05:00
Jason R. Coombs 13cd780231 Prefer sys.maxsize to sys.maxint. 2020-11-29 16:22:12 -05:00
Jason R. Coombs 7507e84a18 Suppress errors in no_network 2020-11-29 16:19:24 -05:00
Jason R. Coombs 53ff740f0e Suppress type check error on NativeStorageServerWithVersion 2020-11-29 16:14:10 -05:00
Jason R. Coombs ffa19d1c07 Suppress typing errors in common Nodes 2020-11-29 16:08:22 -05:00
Jason R. Coombs 2514196b27 Suppress typing error in DummyStorageClient 2020-11-29 16:06:46 -05:00
Jason R. Coombs 3653d7ed16 Ignore type checks on Referenceable objects. Ref warner/foolscap#78. 2020-11-29 16:05:09 -05:00
Jason R. Coombs 1768377aec Ignore error in DummyStorage 2020-11-29 16:04:56 -05:00
Jason R. Coombs b1b3a23415 Fix type errors with CPUUsageMonitor subclasses with float POLL_INTERVAL. 2020-11-29 15:56:39 -05:00
Jason R. Coombs 572d7b2e02 Ignore error when untyped Module has no dispatch. 2020-11-29 15:52:04 -05:00
Jason R. Coombs acbb6b3e93 Convert subcommands to tuples instead of lists, as that's what mypy demands for heterogeneous sequences. 2020-11-29 15:48:26 -05:00
Jason R. Coombs 41c341a3cc Prefer type(None) for better compatibility. 2020-11-29 15:24:20 -05:00
Jason R. Coombs 6b772e7fdc Declare type for BaseOptions.description_unwrapped. 2020-11-29 15:22:58 -05:00
Jason R. Coombs cb351607d8 Repeat type declaration from parent to avoid over-constraining this type for subclasses. 2020-11-29 15:21:25 -05:00
Jason R. Coombs 6ea9003436 Declare MultiFormatResource.formatDefault as optional string for subclass overrides. 2020-11-29 15:19:11 -05:00
Jason R. Coombs 8b991d3516 Update DirectoryNode.set_uri to match interface spec. 2020-11-29 15:16:45 -05:00
Jason R. Coombs 67f0be8431 Prefer type(None) for better compatibility. 2020-11-29 15:13:19 -05:00
Jason R. Coombs 646297ddc3 Add stub for LocalCiphertextReader.set_upload_status 2020-11-29 15:08:46 -05:00
Jason R. Coombs 32b77c4239 Ignore interface violation in MutableFileVersion.download_to_data 2020-11-29 15:06:12 -05:00
Jason R. Coombs a75454a04f Add stub for MutableFileVersion.get_servermap 2020-11-29 15:02:13 -05:00
Jason R. Coombs 103bec6a15 On MutableFileNode, accept optional 'progress' parameter as declared by the interface. 2020-11-29 14:58:28 -05:00
Jason R. Coombs af172f6bff Repeat type declaration from parent to avoid over-constraining this type for subclasses. 2020-11-29 14:55:13 -05:00
Jason R. Coombs c3a22966e8 Add stubs for methods demanded by IPeerSelector 2020-11-29 14:52:45 -05:00
Jason R. Coombs 1b92da75fa Some subclasses use ints, so just go for Any 2020-11-29 14:44:17 -05:00
Jason R. Coombs e0eb63929a Declare type for BaseOptions.description. Fixes many type errors. 2020-11-29 14:35:17 -05:00
Jason R. Coombs 1248d65778 Declare types for BasedirOptions. Fixes several errors. 2020-11-29 14:32:34 -05:00
Jason R. Coombs e9ddcf5911 Implement set_size as required by the interface 2020-11-29 14:26:20 -05:00
Jason R. Coombs 7e757d2ec4 As _ImmutableFileNodeBase doesn't implement the interface, move the implementer declaration to LiteralFileNode 2020-11-29 14:23:59 -05:00
Jason R. Coombs cc91b7c9ed Declare DirectoryURIVerifier type to allow subclass to override. 2020-11-29 14:15:24 -05:00
Jason R. Coombs dca0840c35 Add stubs for methods demanded by the interface 2020-11-29 14:08:33 -05:00
Jason R. Coombs 6ba7533168 Ignore failure on StorageServer.slot_testv_and_readv_and_writev, the implementation of which deviates from the interface spec substantially. 2020-11-29 14:04:59 -05:00