Sebastian Rittau
be925c0d3f
Check that linters/type checkers are pinned to an exact version ( #10311 )
2023-06-12 20:12:14 +02:00
Sebastian Rittau
5092f52c45
Update description of test scripts ( #10310 )
2023-06-12 18:42:33 +01:00
Sebastian Rittau
0fe724dfab
Tighten tempfile() return types ( #10232 )
2023-06-07 21:57:13 -07:00
Sebastian Rittau
786bd22343
[aiofiles] Use file mode alias from _typeshed ( #10233 )
2023-06-07 06:14:03 -07:00
Sebastian Rittau
70d8d059a0
Make all tests executable ( #10267 )
2023-06-06 15:42:07 +02:00
Sebastian Rittau
15df17098a
[PyYAML] Improve dump/serialize types ( #10196 )
...
* Add overloads to return `str` or `bytes`, instead of `Any`.
* Mark some arguments as keyword-only.
* Add missing default values.
2023-05-22 16:40:04 +02:00
Sebastian Rittau
ff700e1b95
Fix return type of FPDF.output() ( #10166 )
2023-05-10 07:05:48 -07:00
Sebastian Rittau
5fdbf37c1f
[requests] Update stubs to 2.30 ( #10141 )
2023-05-05 11:01:21 +01:00
Sebastian Rittau and Alex Waygood
f1c419e816
[fpdf2] Update stubs for fpdf 2.7.4 ( #10136 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-05-03 16:52:43 +01:00
Sebastian Rittau
ec1130adcc
[fpdf2] Update to 2.7.1 ( #9978 )
2023-05-03 17:06:12 +02:00
Sebastian Rittau
81f6beda9e
Document sys.std* typing ( #10135 )
2023-05-03 16:30:37 +02:00
Sebastian Rittau
be0ef21167
[zipfile] Move protocol behind version gate ( #10036 )
...
This protocol is only used for our Python 3.8 stubs. Therefore it's best to limit its availability as much as
possible.
2023-04-12 15:07:49 +01:00
Sebastian Rittau
8f17863f0c
[pyOpenSSL] Fix return type of SSLeay_version ( #10037 )
...
Closes : #10024
2023-04-12 15:01:30 +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
Sebastian Rittau
0bb57fcbc6
[zstd] Add ZSTD_(max_)threads_count methods ( #9938 )
...
Closes : #9935
2023-03-24 12:18:41 +00:00
Sebastian Rittau and Alex Waygood
c7d805b142
[openpyxl] Annotate Worksheet and other items ( #9892 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-03-23 23:45:00 +00:00
Sebastian Rittau
f6f1fa3df4
[minidom] Annotate getElement* methods correctly ( #9919 )
2023-03-22 15:17:36 +00:00
Sebastian Rittau
104cdf9d0d
[redis] Update stubs to 4.5.2 ( #9912 )
2023-03-21 20:26:41 +00:00
Sebastian Rittau and Avasam
a544b75320
[SQLAlchemy] Annotate row classes ( #9568 )
...
Co-authored-by: Avasam <samuel.06@hotmail.com >
2023-03-15 00:57:54 -07:00
Sebastian Rittau
8877c12cdf
[openpyxl] Update to 3.1, add more annotations ( #9875 )
...
Closes : #9644
2023-03-15 00:50:16 -07:00
Sebastian Rittau
05453b0c0a
Update caldav to 1.2 ( #9821 )
...
Also add a few default values and replace some instances of Any with
Incomplete.
2023-02-27 13:42:33 +01:00
Sebastian Rittau
39487a8bab
[redis] Update to 4.5.1 ( #9697 )
...
Also add a few argument defaults
2023-02-10 11:10:37 +00:00
Sebastian Rittau
ad1e2bede1
[fpdf2] FPDF.add_font() accepts PurePaths ( #9699 )
2023-02-09 05:57:45 -08:00
Sebastian Rittau
565a1a07ad
Remove note about Optional still being necessary sometimes ( #9687 )
2023-02-07 03:03:22 -08:00
Sebastian Rittau
dc389eafe7
Update setuptools to 67.1 ( #9664 )
...
Replace some instances of `Any` with `Incomplete` or proper types.
2023-02-03 11:43:35 +00:00
Sebastian Rittau
cd64563dd8
Rework the "Incomplete stubs" section ( #9548 )
...
Also move it to the "Conventions" section due its scope change.
Closes : #8955
2023-02-03 11:58:25 +01:00
Sebastian Rittau and Alex Waygood
4148a7b73e
Upgrade bleach stubs for 6.0 ( #9583 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-01-24 15:46:34 +00:00
Sebastian Rittau
eb4d17031f
[fpdf2] Restore string default values ( #9562 )
...
Cf. #9546
2023-01-18 11:29:32 +00:00
Sebastian Rittau
7b848b4ede
Update fpdf2 stubs to 2.6.1 ( #9546 )
2023-01-17 13:25:41 +01:00
Sebastian Rittau
b8f337a452
SQLAlchemy: Annotate text() ( #9498 )
2023-01-11 15:01:11 +00:00
Sebastian Rittau
b1cb9c8a8f
Update SQLAlchemy stubs to 1.4.46 ( #9464 )
...
Replace `Any` with `Incomplete` where applicable
2023-01-05 19:37:12 +00:00
Sebastian Rittau
feb9b2dc9f
[influxdb-client] Annotate Point and partially client classes ( #9442 )
2023-01-02 18:14:39 +01:00
Sebastian Rittau
3e00c01ca6
Add stubs for influxdb-client ( #9429 )
2022-12-30 14:54:56 -08:00
Sebastian Rittau and Alex Waygood
0cf685cc17
Fully annotate ExifRead ( #9403 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-12-27 17:46:54 +00:00
Sebastian Rittau
db6644790b
Initial ExifRead stubs ( #9401 )
2022-12-23 12:37:44 +01:00
Sebastian Rittau
f52099a22b
Annotate more items in pika.channel ( #9385 )
2022-12-19 15:07:47 +00:00
Sebastian Rittau and Alex Waygood
fe9c7384fd
pika: Make Method generic, annotate DeclareOk ( #9360 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-12-14 19:42:57 +00:00
Sebastian Rittau
92d130f6b6
Distribute our pika stubs under an alternate name ( #9358 )
...
Cf. #9246
2022-12-14 11:36:13 +00:00
Sebastian Rittau
d30941c747
Update to SQLAlchemy 1.4.45 ( #9359 )
...
Use Incomplete in touched files
2022-12-14 11:02:16 +00:00
Sebastian Rittau
a74df38df0
Message.get_content_charset() returns None by default ( #9344 )
2022-12-09 07:19:18 -08:00
Sebastian Rittau
5b4adfde20
Disable pika uploads for now ( #9257 )
...
See #9246 .
2022-11-23 12:21:04 +00:00
Sebastian Rittau
02942b710c
Support "stub_distribution" and "upload" metadata fields ( #9256 )
2022-11-23 13:05:13 +01:00
Sebastian Rittau
a46283c1cc
Update fpdf2 stubs to 2.6 ( #9236 )
2022-11-22 20:44:53 -08:00
Sebastian Rittau
20a35057fa
Further annotate pika ( #9240 )
2022-11-22 11:55:43 +00:00
Sebastian Rittau
ebb5bddbdc
Initial pika stubs ( #9200 )
2022-11-21 19:31:21 +01:00
Sebastian Rittau
e7e94dd101
Make unittest.patch.* methods static ( #7543 )
2022-11-01 13:09:56 +01:00
Sebastian Rittau
96daaf60bf
Remove references to master branch ( #9060 )
2022-11-01 13:02:38 +01:00
Sebastian Rittau
3aaf6b9999
'master' branch was updated to 'main' ( #9045 )
2022-11-01 12:57:57 +01:00
Sebastian Rittau
ac563c6641
Update caldav stubs to 0.10 ( #9044 )
2022-10-31 07:04:31 -07:00
Sebastian Rittau
b2d6d3c935
Update distutils stubtest allowlists for Python 3.11 release ( #8985 )
...
Closes : #8984
2022-10-26 00:18:09 +02:00
Sebastian Rittau
fb2eb406a7
dateparser: add negative argument to get_date_from_timestamp ( #8954 )
...
Closes #8952
2022-10-21 00:45:53 -07:00
Sebastian Rittau
61de308e29
Update pyOpenSSL stubs to 22.1.* ( #8838 )
2022-10-04 05:29:16 -07:00
Sebastian Rittau
9b306c3367
Remove selenium stubs ( #8753 )
...
Closes : #7381
2022-09-16 15:39:14 +02:00
Sebastian Rittau
73fbb53475
Update setuptools stubs ( #8345 )
...
setuptools now vendors `distutils` as `setuptools._distutils`.
2022-07-20 18:44:22 +02:00
Sebastian Rittau
5534007189
Fix return type of email.header.decode_header() ( #8337 )
2022-07-19 20:43:48 +01:00
Sebastian Rittau
ef443b6359
Re-enable SQLAlchemy mypy tests ( #8282 )
...
These used to crash if run twice in succession locally, but the crash has been fixed on mypy 0.971
2022-07-19 16:46:39 +01:00
Sebastian Rittau
ba8ea2c911
Move Rune Tynan to former maintainers ( #8306 )
2022-07-15 22:13:27 +02:00
Sebastian Rittau
91fd79c158
Updates for Python 3.11.0b4 ( #8288 )
2022-07-13 13:10:20 +02:00
Sebastian Rittau
a0f6fb5669
Turn requests.requests.packages into a module ( #8281 )
...
Remove obsolete class VendorAlias
2022-07-12 20:30:28 +02:00
Sebastian Rittau
faae950ade
Use error codes for type ignores ( #8280 )
...
Disable reportSelfClsParameterName for pytype as this is out of typeshed's
control
Closes : #7497
2022-07-12 20:15:49 +02:00
Sebastian Rittau
9a5c865034
Drop support for Python 3.6, part 1 ( #8250 )
...
* Document that typeshed support 3.7+.
* Don't run tests on Python 3.6.
* Remove Python 3.6 allow lists.
* Merge common allowlist items.
Part of #6189
2022-07-07 14:42:02 +02:00
Sebastian Rittau
f135c6515d
Fix size parameter of FPDF.set_font_size ( #8234 )
2022-07-04 12:23:31 +01:00
Sebastian Rittau
7b54854c90
Remove the dataclasses third-party stub ( #8216 )
...
dataclasses is part of the Python stdlib and the third-party package is
not supported past Python 3.6.
2022-06-30 12:14:29 +02:00
Sebastian Rittau
ec7ab6d4d6
Mark the dataclasses stubs as no longer updated ( #8215 )
2022-06-30 11:47:36 +02:00
Sebastian Rittau
3c959d099b
Update redis stubs to 4.3.4 ( #8199 )
...
Fixes #8196
2022-06-28 16:38:15 +01:00
Sebastian Rittau
9eed3275c3
tabulate: Add maxcolwidths arguments ( #8132 )
2022-06-22 11:48:48 +01:00
Sebastian Rittau
678c231e5b
Add types for zxcvbn ( #8089 )
2022-06-21 04:34:48 -07:00
Sebastian Rittau
6a64e69054
Update redis stubs to 4.3 ( #8108 )
2022-06-20 12:09:38 -07:00
Sebastian Rittau
60507a08a2
Mark characteristic as no longer updated ( #8038 )
...
Part of #8012
2022-06-08 18:57:15 +02:00
Sebastian Rittau
d8c0f25f0d
Explain the no_longer_updated METADATA field ( #8037 )
2022-06-08 18:46:41 +02:00
Sebastian Rittau
214bf15dce
Use "all +=" instead of duplicating the branches ( #7865 )
2022-06-07 13:32:19 +02:00
Sebastian Rittau
07ac9675e4
SQLAlchemy 1.4.37 fixes ( #8003 )
...
Closes : #8001
2022-06-01 09:50:40 +01:00
Sebastian Rittau
d2728cf688
dateutil: Add dateutil.rrule.weekdays ( #7968 )
...
Closes : #7946
2022-05-27 11:15:03 +01:00
Sebastian Rittau
301caad709
Update mypy to 0.960 ( #7948 )
2022-05-25 14:44:22 +02:00
Sebastian Rittau
a412ddb437
Update pyright ( #7914 )
...
Required for #7865
2022-05-21 19:15:06 +01:00
Sebastian Rittau
adf48f1f96
Only run CI on pushes to main/master and pull requests ( #7883 )
...
Currently, when a maintainer opens a pull request from a branch in the
typeshed repository (instead of a fork), CI is run twice: once for the
PR and once for the push. This not only wastes CI minutes (and it seems
we're running into some limits lately), but also makes CI output twice
as large and more difficult to process.
The disadvantage is that a PR needs to be opened to run CI.
Alternatively, CI can be triggered manually.
2022-05-20 14:14:25 +02:00
Sebastian Rittau
3aaa1d0ada
Upgrade pyright to 1.1.247 ( #7867 )
2022-05-18 19:56:19 +01:00
Sebastian Rittau
7ca82d5fb4
stubtest third party: remove extra line when skipping a distribution ( #7864 )
2022-05-18 20:15:55 +02:00
Sebastian Rittau
b65ef3a722
Make third party stubtest output more succinct ( #7853 )
...
stubtest_third_party.py will now only print a single line when the test
succeeds for a certain distribution, unless the "-v" option is given.
When the test fails or "-v" is given, will still print the full output.
The success status is now colored to make spotting failures easier.
stdout/stderr is now used consistently: The distribution name and
success status is always printed to stdout, all other output goes to
stderr. Running the script with "2>/dev/null" will only show the success
status of the test, one per line.
2022-05-17 16:10:58 -07:00
Sebastian Rittau
f21898abb9
Improve I/O types in socket.pyi ( #7852 )
...
* Use a protocol for socket.sendfile() "file" argument.
* Use concrete classes for socket.makefile() return types.
2022-05-17 06:11:50 -07:00
Sebastian Rittau
e1bd9c73f0
Use I/O protocols in codecs.pyi ( #7849 )
2022-05-17 15:01:57 +02:00
Sebastian Rittau
a05ee9740d
Markdown: use I/O protocols ( #7851 )
2022-05-17 15:00:59 +02:00
Sebastian Rittau
b211bf31a3
Update testing_engine() annotations ( #7818 )
2022-05-10 12:46:01 +03:00
Sebastian Rittau
460537c7f6
Add missing redis modules and classes ( #7676 )
...
This adds asyncio support and support for redis.typing.
2022-05-04 11:29:13 +02:00
Sebastian Rittau
fa701ab0ee
Run apt-get update before installing packages ( #7749 )
...
Fixes #7743
2022-04-30 06:42:23 -06:00
Sebastian Rittau
5df8de7693
Move a few protocol from builtins to _typeshed ( #7736 )
2022-04-28 17:36:47 +02:00
Sebastian Rittau
5535b7fc08
Update caldav stubs for 0.9 ( #7734 )
2022-04-28 17:56:43 +03:00
Sebastian Rittau
ff2feff7df
dateutil.tz.tz: Replace IO with protocols ( #7717 )
2022-04-27 16:37:57 +03:00
Sebastian Rittau
02310d93da
Update pyright to 1.1.240 ( #7701 )
2022-04-27 15:02:30 +02:00
Sebastian Rittau
f7aa41245e
Drop Python 2 support in third-party stubs ( #7703 )
2022-04-27 15:32:17 +03:00
Sebastian Rittau and Akuli
2d468966f5
Add various missing generic arguments ( #7702 )
...
Co-authored-by: Akuli <akuviljanen17@gmail.com >
2022-04-27 15:25:35 +03:00
Sebastian Rittau
fa4677424a
Remove Python 2 support from simplejson ( #7704 )
2022-04-27 11:57:29 +02:00
Sebastian Rittau
60f0497a72
Drop support for Python 2 in termcolor ( #7707 )
2022-04-27 12:56:38 +03:00
Sebastian Rittau
cfdff16e4e
Drop Python 2 support from chardet ( #7708 )
2022-04-27 12:54:40 +03:00
Sebastian Rittau
03e1e3b4d3
Drop Python 2 support from python-gflags ( #7709 )
2022-04-27 12:54:12 +03:00
Sebastian Rittau
98aa6d75fe
Drop Python 2 support from python-dateutil ( #7715 )
2022-04-27 12:52:46 +03:00
Sebastian Rittau
5edf5f0cc9
Remove Python 2 support from toml ( #7713 )
2022-04-27 12:52:28 +03:00
Sebastian Rittau
27af3dc6b1
Drop Python 2 support from click-spinner ( #7710 )
2022-04-27 12:49:27 +03:00
Sebastian Rittau
6245bc7432
Remove Python 2 support from entrypoints ( #7711 )
2022-04-27 12:47:50 +03:00
Sebastian Rittau
e916fb5f1e
Remove Python 2 support from atomicwrites ( #7712 )
2022-04-27 12:45:44 +03:00