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
Alex Waygood
b4e97a1909
Improve __enter__ & constructor methods ( #7114 )
2022-02-02 22:14:59 +01:00
Jelle Zijlstra
0949e9e90d
remove quoted strings ( #6933 )
2022-01-16 14:29:13 -08:00
Jelle Zijlstra
339bfbbfaa
remove "= ..." from top-level values ( #6930 )
2022-01-16 18:38:00 +02:00
Alex Waygood
a40d79a4e6
Use lowercase type everywhere ( #6853 )
2022-01-08 16:09:29 +01:00
Sebastian Rittau
5ca666631e
Remove unused allowlist entries ( #6671 )
2021-12-23 12:23:25 +02:00
Alex Waygood
c685c2d6c6
Reduce use of deprecated typing aliases ( #6358 )
2021-11-23 10:56:43 +01:00
Huw Jones
ce7484f70b
Add defaults to GCM.__init__ arguments ( #6207 )
2021-10-28 12:57:40 +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
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
d3ba8a3858
Pillow: fix errors found by stubtest ( #5629 )
...
* Update Pillow stubtest allowlist
* Update cryptography allowlist
2021-06-13 15:15:51 +03:00
Shantanu
7244ea1f71
Test third party stubs with stubtest ( #5615 )
2021-06-13 00:17:40 +02:00
Sebastian Rittau
f28100af19
Mark cryptography as obsolete ( #5619 )
...
Bump version to 3.3 (last version before Python 2 removal)
2021-06-12 10:51:53 +03: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
Marat Sharafutdinov
cb90edabd9
Add PKCS7 support for cryptography ( #5062 )
2021-02-24 14:37:56 +01:00
Marti Raudsepp
ed26eced47
cyptography: Add default to few remaining backend= arguments ( #4982 )
...
This was changed in cryptography 3.1. Most places in typeshed were
already correct, fixed few remaining omissions.
2021-01-28 09:38:20 -08: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