Shantanu
2ad00c9664
Use stubtest 0.920 ( #6589 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
Co-authored-by: Sebastian Rittau <srittau@rittau.biz >
Co-authored-by: Akuli <akuviljanen17@gmail.com >
2021-12-17 13:58:11 +02:00
Abhyudaya Sharma
b3a31b39fa
fix: paramiko.HostKeyEntry.hostnames is a list ( #6544 )
2021-12-08 13:51:37 +02:00
Manfred Kaiser
56c45528b7
paramiko.Channel - mark arguments as also accepting bytes ( #6276 )
2021-12-04 17:31:27 +01:00
Akuli
a5bc1e037f
Add mypy error codes to '# type: ignore' comments ( #6379 )
2021-11-26 07:07:56 +01:00
Alex Waygood
c685c2d6c6
Reduce use of deprecated typing aliases ( #6358 )
2021-11-23 10:56:43 +01:00
Diego Argueta
2f0969cd8d
Add prefetch argument to paramiko SFTPClient.getfo ( #6331 )
...
Co-authored-by: Akuli <akuviljanen17@gmail.com >
2021-11-17 21:31:22 -08:00
Manfred Kaiser
977a32a3c9
paramiko.ServerInterface: replace str with bytes in some methods ( #6254 )
2021-11-08 10:57:29 +02:00
Akuli
994b69ef8f
Use lowercase tuple where possible ( #6170 )
2021-10-14 17:18:19 -07:00
Sebastian Rittau
9f86972350
Add star to all non-0.1 versions ( #6146 )
2021-10-11 13:41:19 -07:00
Jake Bailey
368bd2cb28
Properly export bytes from paramiko.py3compat ( #6113 )
2021-10-04 17:12:28 -07:00
Sebastian Rittau
d7bae50199
Update third-party package versions ( #5996 )
2021-09-18 20:08:38 -07:00
Akuli
ce11072dbe
Big diff: use lower-case list and dict ( #5888 )
2021-08-08 09:26:35 -07:00
Akuli
ee487304d7
Big diff: Use new "|" union syntax ( #5872 )
2021-08-08 11:05:21 +02:00
Sebastian Rittau
beb6891a3b
Fix imports in paramiko ( #5606 )
2021-06-13 12:41:58 -07:00
Shantanu
7244ea1f71
Test third party stubs with stubtest ( #5615 )
2021-06-13 00:17:40 +02:00
Sebastian Rittau
711580722b
Enable pyright for all Python 3 stubs ( #5597 )
...
* pyright: disable reportUnknownParameterType
Unknown parameter types are preferred over Any annotations for
incomplete stubs. Especially larger stubs are expected to be
incomplete for some time and it would be a shame to lose the
other pyright warnings for those stubs.
* Also disable reportUnknownVariableType
Fix problems with tkinter
* Disable reportUnknownMemberType
Fix pyright problems
2021-06-09 07:14:22 -07:00
Akuli
8379386bd4
get rid of Any in paramiko HostKeys ( #5342 )
2021-05-05 12:35:44 +02:00
Akuli
9f732a128a
enable mypy_test for python 3.10 ( #5341 )
...
* enable mypy_test for python 3.10
* avoid collections.Mapping and collections.MutableMapping, import from typing
2021-05-05 00:09:33 +03:00
Shantanu
fa9d5a5e9f
future first: switch the order of some if statements ( #5206 )
...
Since we're adding this to our contribution guidelines in
https://github.com/python/typeshed/pull/5205
2021-04-11 06:44:18 -07:00
Steve B
243472c9fd
Correct return type BufferedFile.read in paramiko ( #4994 )
...
According to the docs in paramiko the return type will always be bytes
```
.. note::
``'b'`` mode flag is ignored (``self.FLAG_BINARY`` in
``self._flags``), because SSH treats all files as binary, since we
have no idea what encoding the file is in, or even if the file is
text data.
:param int size: maximum number of bytes to read
:returns:
data read from the file (as bytes), or an empty string if EOF was
encountered immediately
```
2021-02-01 14:28:22 +01:00
Ivan Levkivskyi
16ae4c6120
Re-organize directory structure ( #4971 )
...
See discussion in #2491
Co-authored-by: Ivan Levkivskyi <ilevkivskyi@dropbox.com >
2021-01-27 12:00:39 +00:00