Commit Graph

12112 Commits

Author SHA1 Message Date
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
Jason R. Coombs bc3508ce60 Ignore type checks on cmp usage (awaiting Python 3 porting) 2020-11-29 14:01:05 -05:00
Jason R. Coombs 50f81aa25d Update two methods of introducer.client.IntroducerClient to match the interface definition. 2020-11-29 13:57:46 -05:00
Jason R. Coombs 4998c4693f Ignore type checks on Referenceable objects. Ref warner/foolscap#78. 2020-11-29 13:57:46 -05:00
Jason R. Coombs adf0688918 Add a non-implementation of encode_proposal to satisfy interface. 2020-11-29 13:57:46 -05:00
Jason R. Coombs 5f40c562eb Remove self arguments to IProgress, which mypy caught as improper. 2020-11-29 13:57:46 -05:00
Jason R. Coombs dec6f6d647 Remove Interface subclass, as IURI is an interface. Fixes mypy error. 2020-11-29 13:57:46 -05:00
Jason R. Coombs df31d7db5b Suppress type error in Node.GENERATED_FILES, apparently unused. 2020-11-29 13:57:46 -05:00
Jason R. Coombs 25cce8b77e Suppress typing errors in fileutil, crawler, fixups. 2020-11-29 13:57:46 -05:00
Jason R. Coombs 8da82e9ed5 Add workaround for Shoobx/mypy-zope#26. 2020-11-29 13:57:46 -05:00
Jason R. Coombs d1ea36781a Add type declarations to check_load. 2020-11-29 13:57:46 -05:00
Jason R. Coombs ce3b775944 Suppress typing error in test_python3 2020-11-29 13:57:46 -05:00
Jason R. Coombs f2ffa78198 Define type of PollMixin._poll_should_ignore_these_errors 2020-11-29 13:57:46 -05:00
Jason R. Coombs 4b559ffc33 Add typechecks to tox run 2020-11-29 13:57:46 -05:00
Jason R. Coombs 6d2d82d7b7 Use pre-release versions of foolscap and mypy-zope with intended support for RemoteInterface subclasses. 2020-11-29 13:57:46 -05:00
Jason R. Coombs ab54585558 Incorporate mypy-zope to support zope interfaces. 2020-11-29 13:57:46 -05:00
Jason R. Coombs ee9d9d7984 Add mypy checks as separate tox environment. 2020-11-29 13:57:46 -05:00
Jean-Paul Calderone e6a09fa444 Don't check check-debugging.py 2020-11-27 16:28:23 -05:00
Jean-Paul Calderone 263ada9be4 Get rid of the spurious quotes in the flake8 command
I don't understand tox.ini syntax or quoting rules and I don't see any
documentation about it.  But what could go wrong with trial and error?
2020-11-27 16:24:16 -05:00
Jean-Paul Calderone 4c8fb8d93a unused import 2020-11-26 21:48:06 -05:00
Jean-Paul Calderone ae5351c204 Adapt test_tor to write_introducer change 2020-11-26 21:46:57 -05:00
Jean-Paul Calderone 84088e4f41 unused import 2020-11-26 21:18:58 -05:00
Jean-Paul Calderone 805378ef11 Do more path stuff with FilePath 2020-11-26 20:53:57 -05:00
Jean-Paul Calderone a978fcf433 Replace asserts with explicit checks and TypeError 2020-11-26 19:35:39 -05:00
Jean-Paul Calderone 3843131acf Can have more than one introducer if you want 2020-11-26 19:29:52 -05:00
Jean-Paul Calderone c82501e0dc Merge remote-tracking branch 'origin/master' into 3511.config-set-config 2020-11-26 11:01:18 -05:00
Jean-Paul Calderone df53fdcf9b add missing docs to new set_config method 2020-11-26 10:53:42 -05:00
Jean-Paul Calderone d81fe54faf typo fix 2020-11-26 10:50:36 -05:00
Jean-Paul Calderone c3ba08c205 open questions 2020-11-26 10:41:26 -05:00
Jean-Paul Calderone b2c0d1b7ae Caveat the rest of the certificate fields 2020-11-26 10:31:22 -05:00
Jean-Paul Calderone a5f0be6513 Oops these have schemes most of the time
except tcp is implied if the scheme is missing

Is this grammar ambiguous?  I don't know but I think so.
2020-11-26 10:16:49 -05:00
Jean-Paul Calderone 4ee28a8479 Some example NURLs for flavor 2020-11-26 10:16:40 -05:00
Jean-Paul Calderone ccc6afa140 explicit callback 2020-11-26 09:43:05 -05:00
Jean-Paul Calderone 02579768bd Still gonna TLS 2020-11-26 09:18:12 -05:00
Jean-Paul Calderone ee72029bd4 warn about what's unauthenticated 2020-11-26 07:31:59 -05:00
Jean-Paul Calderone c4f7643b99 introduce "swiss number" and clarify text a bit 2020-11-26 07:25:25 -05:00
Jean-Paul Calderone e385cd02a3 Footnote about the zero-or-more thing for fURLs 2020-11-25 18:30:36 -05:00