dispread
d27426488e
Added paramiko3.2 PKey and PublicBlob methods ( #11067 )
...
Addded missing paramiko methods from https://docs.paramiko.org/en/latest/api/keys.html#paramiko.pkey.PKey
2023-11-24 17:55:21 +00:00
Alex Waygood
1d2fe59e88
Third-party stubs: remove unused type: ignores ( #11063 )
2023-11-23 13:35:45 +00:00
Nikita Sobolev
fe2ebd69af
Bump paramiko to 3.3.* ( #10522 )
2023-07-31 09:07:05 +01:00
Sebastian Rittau
afe18e95a9
Add an upstream_repository field to METADATA.toml ( #10487 )
...
Closes : #10478
2023-07-20 16:45:41 +02:00
Nikita Sobolev
7595478998
Bump paramiko to 3.2.* ( #10237 )
2023-06-01 12:21:55 +02:00
Avasam
db0149859c
Add partial_stub metadata field ( #10157 )
2023-05-10 17:04:18 +02:00
Jelle Zijlstra
8e24885da7
paramiko: Improve various bytes-related types ( #10109 )
2023-05-03 15:53:54 +02:00
Xavier Trochu
c4b6d635ab
paramiko: Be more lenient for client parameter types (#10083 )
...
Use Mapping instead of dict for better covariance
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-04-25 12:35:10 -06:00
Alex Waygood
755e2bda7e
google-cloud-ndb, paramiko, setuptools: remove unnecessary = ...s (#10011 )
2023-04-04 13:40:16 +01:00
Sebastian Rittau
027460f11a
Remove unnecessary ellipsis expressions ( #9976 )
...
Ignore flake8 F821 warnings in stub files
2023-03-29 13:28:06 +02:00
Alex Waygood
6fd7e36e80
Add default values for third-party stubs beginning with 'P' ( #9957 )
2023-03-27 18:58:53 +01:00
Avasam
ed6748fb32
Stubtest settings: change ignore_missing_stub default to false ( #9779 )
...
If you're reading about this commit from an autogenerated changelog entry, this should have no user-visible impact on how the stubs are interpreted by a type checker; it's just an internal change to how typeshed's tests work.
2023-02-20 22:37:45 +00:00
Alex Waygood
7180d0223b
Use typing_extensions.Self instead of _typeshed.Self ( #9702 )
2023-02-15 11:32:43 +01:00
Alex Waygood
efee70abfa
Bump mypy to 1.0 ( #9684 )
2023-02-06 15:57:17 -08:00
Nikita Sobolev
f7cb7f33b2
Use OSError instead of IOError ( #9683 )
2023-02-06 18:56:32 +00:00
Alex Waygood
262f2067aa
Update paramiko stubs to 3.0.* ( #9667 )
2023-02-06 07:01:50 -08:00
Alex Waygood
4fea314594
Replace Any with Incomplete in many places ( #9558 )
2023-01-18 08:48:16 +00:00
Alex Waygood
e2d67bf703
Delete stubs for cryptography ( #9459 )
...
Typeshed's stubs for `paramiko` and `pyOpenSSL` now depend on the `cryptography` package, which now provides inline types at runtime
2023-01-10 22:16:11 +00:00
Avasam
1724fb3e25
Fix paramiko stubtest on Windows ( #9179 )
2022-11-12 23:52:34 +00:00
Nikita Sobolev
bc6d91a58e
Bump paramiko to 2.12.* ( #9163 )
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2022-11-11 15:30:11 -08:00
Kevin Kirsche
525d122448
Improve paramiko.win_pageant stubs ( #8671 )
2022-09-10 23:10:14 +01:00
Kevin Kirsche
8e4b89a707
fix: add missing paramiko.win_openssh ( #8672 )
2022-09-03 14:03:10 -07:00
Kevin Kirsche
80fdf9e6c6
paramiko: Add missing types in __init__.pyi and _version.pyi (#8651 )
2022-08-31 18:00:39 +01:00
Alex Waygood
6348a58b8b
Import Match and Pattern from re, not typing ( #8277 )
2022-07-12 15:32:48 +02:00
Alex Waygood
8ef6602e25
Third-party stubs: audit more Callable[<parameters>, Any] annotations ( #8233 )
2022-07-04 10:29:47 +02:00
Alex Waygood
74bd0d962b
Third-party stubs: audit Callable[<parameters>, None] annotations ( #8175 )
2022-06-26 13:56:19 +02:00
Shantanu
b7af592718
[stubsabot] Bump paramiko to 2.11.* ( #8091 )
...
Co-authored-by: hauntsaninja <>
2022-06-18 08:51:10 +01:00
Shantanu
4bcb1a95ab
Upgrade paramiko ( #7766 )
2022-05-02 20:52:14 +02:00
Jovan Bebic
f05bfe0315
Fix paramiko channel.setblocking() argument ( #7758 )
...
Add 0,1 as allowed arguments using `Literal[0,1]`
2022-04-30 15:15:36 -06:00
Akuli
e613fc483b
Delete python 2 branches from third-party stubs ( #7741 )
...
Since #7703 , we no longer have third-party stubs that support Python 2, so code like `if sys.version_info >= (3, 0)` can be simplified.
2022-04-29 20:53:01 +01:00
Alex Waygood
653f2c6ba4
Third-party stubs: import from collections.abc where possible ( #7637 )
2022-04-16 14:52:57 +01:00
Alex Waygood
740193a8fc
Use TypeAlias where possible for type aliases ( #7630 )
2022-04-15 18:01:00 -07:00
Alex Waygood
3ab250eec8
Use PEP 604 syntax wherever possible ( #7493 )
2022-03-16 16:01:33 +01:00
Alex Waygood
9a1f5fb06c
Modernize syntax in various stubs ( #7469 )
...
Use `str` and `contextlib.AbstractContextManager` instead of `typing.Text` and `typing.ContextManager`.
2022-03-09 21:23:26 +00:00
Sebastian Rittau
cdb573b398
Remove explicit inheritance from object ( #7468 )
2022-03-09 19:43:44 +01:00
Sebastian Rittau
c3907ab26b
Remove Python 2 support from some third-party distributions ( #7466 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-03-09 20:19:22 +02:00
Itai Steinherz
670009ca22
Improve sock typing in Paramiko stub ( #7156 )
2022-02-08 07:08:14 -08:00
Alex Waygood
15d76b072a
Improve classmethods in paramiko stubs ( #7113 )
2022-02-02 22:15:26 +01:00
Shantanu
b88a6f19cd
Upgrade black version ( #7089 )
2022-01-30 16:27:06 -08:00
Jelle Zijlstra
339bfbbfaa
remove "= ..." from top-level values ( #6930 )
2022-01-16 18:38:00 +02:00
Alex Waygood
96c9abb058
Always use _typeshed.Self, where applicable ( #6880 )
...
* Always use `_typeshed.Self`, where applicable
* Revert changes to `google-cloud-ndb` (ambiguous)
* Remove empty line added by script
* Revert changes to `stubs/python-dateutil/dateutil/relativedelta.pyi`
* Manually add a few more that the script missed
* Improve `filelock` annotation
Source code here: 79ec7b2826/src/filelock/_api.py (L207)
* Improve `opentracing/scope` annotation
Source code here: 3e1d357a34/opentracing/scope.py (L71)
* Improve `redis/client` stub
Source code here: 15f315a496/redis/client.py (L1217)
* Improve `redis/lock` annotation
Source code here: 15f315a496/redis/lock.py (L155)
* Improve `requests/models` annotation
Source code here: d718e75383/requests/models.py (L653)
2022-01-09 19:16:19 -08:00
Alex Waygood
a40d79a4e6
Use lowercase type everywhere ( #6853 )
2022-01-08 16:09:29 +01:00
Alex Waygood
8d5d2520ac
Use PEP 585 syntax wherever possible ( #6717 )
2021-12-28 11:31:43 +01:00
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