Commit Graph
23 Commits
Author SHA1 Message Date
Ali HamdanandGitHub 662158629b seaborn: Complete the categorical module (#11170) 2023-12-18 13:49:52 +01:00
Ali HamdanandGitHub cdad9047d5 stdlib: Use Unpack for concurrent.futures.*Executor constructors (#11171) 2023-12-18 13:46:15 +01:00
be55326873 Replace overload hack in operator.itemgetter with PEP 646 Unpack (#11136)
Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-12-10 16:25:48 +00:00
Ali HamdanandGitHub 6ae413f2c0 seaborn: complete the distributions module (#11131) 2023-12-10 07:18:59 -08:00
Ali HamdanandGitHub 88193cd7df seaborn: mark simple deprecations (#11130) 2023-12-10 12:04:19 +01:00
Ali HamdanandGitHub 9c5479ffda stdlib: Use PEP646 tuple unpack for precise os.execl(p)e typing (#11133) 2023-12-09 20:34:00 -08:00
Ali HamdanandGitHub 0f7241844e seaborn: complete and fix axisgrid module (#11096) 2023-12-04 12:30:26 +01:00
Ali HamdanandGitHub aef6e229fe seaborn: fix and complete seaborn.regression (#11043) 2023-11-21 17:51:25 +01:00
Ali HamdanandGitHub c189ca0e15 Add seaborn stubs (#10721) 2023-10-28 07:44:36 -07:00
6748816d43 Enable ruff's isort rules on files generated using mypy-protobuf (#10939)
Co-authored-by: AlexWaygood <alex.waygood@gmail.com>
2023-10-28 07:27:45 -07:00
Ali HamdanandGitHub 306c30a0c7 psycopg2: Fix missing Protocol base class in file protocols (#10943)
This is an error I introduced in #10630 because I didn't know protocols
need to be explicitly inherited from in other protocol subclasses.

The added test shows the change. Basically these protocols were unusable.
2023-10-28 15:09:39 +01:00
Ali HamdanandGitHub db3f84e5c2 Allow specifying python version in runtests script (#10881)
This makes the script usable for packages that do not support the minimum
python version hardcoded in the script.

Another part of #10722
2023-10-13 23:37:12 +02:00
Ali HamdanandGitHub dd00f9d899 Complete psycopg2 (#10760) 2023-09-24 13:48:01 -07:00
c5dde1e720 Add optional requires_python field to third-party stubs metadata (#10724)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-09-24 18:39:12 +01:00
Ali HamdanandGitHub 2b323bed50 Add typeshed aliases to the types accepted by int and float constructors (#10707)
Ref https://github.com/python/typeshed/pull/10630#discussion_r1321646168
2023-09-22 19:50:43 -07:00
Ali HamdanandGitHub 71a35b4343 psycopg2: Add missing modules, add annotations (#10630) 2023-09-13 12:11:54 +02:00
Ali HamdanandGitHub aed8c3fe1c Replace aliases by builtins.* in uuid (#10422)
These aliases were used because the class has properties called
`int` and `bytes`. I think it is better to use the shadowed types
from the builtins module. This should not change anything from the
type checking side but it improves the IDE experience[^1].

[^1]: I was using uuid recently and the aliases showed up in vscode,
I thought they were uuid special types and had to look in the stub to
know what they are.
2023-07-08 11:58:50 +01:00
Ali HamdanandGitHub 56aeeb677f Fix groups type in argparse.HelpFormatter (#10226) 2023-05-27 14:44:04 +02:00
Ali HamdanandGitHub ca701f0ef3 Type argparse.HelpFormatter._Section (#10191)
The python type system doesn't provide a way to fully express the type of
`self.NestedClass` with inheritance but this change is still an improvement
over the `Any` annotations. The usage of `_Section` is rare and subclassing
it is even rarer so this shouldn't cause trouble.
2023-05-22 07:39:46 -07:00
Ali HamdanandGitHub 3add7f0d76 Reference the stub_uploader issue discussing externals deps in the contributing guide (#10156)
Closes #10150
2023-05-10 08:32:00 +02:00
6bb40e95ac xml: NodeList.length is read-only (#9994)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-03-31 23:55:46 +01:00
Ali HamdanandGitHub f8add366d5 pyserial: Fix read and write methods (#9825) 2023-03-08 21:11:26 -08:00
hamdanalandGitHub a2fee5b30f pyserial: fix stubtest errors (#9722) 2023-02-19 12:08:20 +00:00