Commit Graph

69 Commits

Author SHA1 Message Date
Alex Waygood 6b0c8df9ec Upgrade pyright, improve pyright config files (#8072) 2022-06-16 18:50:50 +01:00
Jelle Zijlstra 1aa546d07d pyright: turn off reportPropertyTypeMismatch (#7985) 2022-05-30 09:20:28 +02:00
Xavier Francisco 3191c1a2df Add stubs for dj-database-url (#7972)
Co-authored-by: Xavier Francisco <xavier.n.francisco@gmail.com>
2022-05-28 15:14:35 +01:00
Alex Waygood 2773480d13 Add regression tests for builtins.pow and object.__reduce__ (#7663) 2022-04-21 21:17:37 -07:00
matt-slack 6573761324 Add stubs for Python-Jose (#7613) 2022-04-12 19:08:23 +02:00
Sebastian Rittau 251dd52b57 Remove backports_abc third-party package (#7533)
The last release was in 2016 and it's not required in any currently
supported Python 3 version.
2022-03-22 11:43:59 -07:00
Sebastian Rittau 108b6fb091 pyright: Don't report incompatible overrides (#7498)
These overrides are inherited from the implementation and are out of
typeshed's control.
2022-03-16 16:20:06 +01:00
Sebastian Rittau addce5c067 Add passlib stubs (#7024) 2022-03-06 16:25:00 -08:00
Sebastian Rittau 7e5d2a58aa Add openpyxl stubs (#6801) 2022-03-06 16:24:17 -08:00
Itai Steinherz b9909b121e Add missing typings to unittest.mock (#7431) 2022-03-06 15:43:39 -08:00
Alex Waygood 39c8202eaf Increase pyright strictness when checking __all__ (#7356) 2022-03-02 03:31:21 -08:00
Alex Waygood 070bbb4fb9 Add multiprocessing.reduction submodule (#7361) 2022-02-22 16:36:26 -08:00
Alex Waygood da7604a968 Add stubs for pyflakes (#7175) 2022-02-11 12:21:28 +01:00
kasium 0238956f90 Add stubs for pep8-naming (#7030) 2022-01-25 08:39:16 +01:00
kasium 2bf7458091 Add stubs for invoke (#6938) 2022-01-21 20:44:26 -08:00
kasium 3a22bf2411 Add stubs for Flask-SQLAlchemy (#6946) 2022-01-20 13:10:26 -08:00
Akuli 80c75fb029 Stricter pyright checks for playsound (#6948) 2022-01-18 16:36:51 +01:00
Akuli b77f994801 Improve _tkinter (#6908) 2022-01-13 17:05:20 +02:00
ThePhilgrim 7191d12e24 Add stubs for playsound (#6881) 2022-01-10 22:23:28 +02:00
Sebastian Rittau 29563c3cc3 Add urllib3 stubs (#6858) 2022-01-08 14:49:06 +02:00
Sebastian Rittau 15958a2628 Fixes for third-party mock package (#6685)
Removed a few unused private classes and methods. They can be re-added if a user reports them missing.
2021-12-25 11:43:43 +02:00
Sebastian Rittau 3fb2bcd4c1 Restore stubtest 0.930 (#6663) 2021-12-22 20:18:19 -08:00
Alex Waygood 64b3dd875f Increase pyright strictness for some xml files (#6649) 2021-12-21 18:31:30 +01:00
Sebastian Rittau 6f2ff7e895 Create SQLalchemy stubs using stubgen (#6585) 2021-12-17 09:38:23 -08:00
Sebastian Rittau 74ecc2904b Add stubs for ldap3 (#6561) 2021-12-10 19:18:07 +01:00
kasium 9dc75772d3 Annotate remaining opentracing fields, arguments, and return types (#6476) 2021-12-03 11:41:49 +01:00
kasium 906d5f1faf Add opentracing stubs (#6473) 2021-12-02 20:55:35 +01:00
Akuli 3f281881c2 get rid of remaining references to pallets stubs (#6474) 2021-12-02 21:41:40 +02:00
Sebastian Rittau f2551376ae Add stubs for fpdf2 (#6252) 2021-11-10 19:06:26 +02:00
Akuli 230f149539 Remove unnecessary pyrightconfig excludes (#6271) 2021-11-09 20:00:59 +02:00
Roman Joost 3a70f34ddd Stubs for google.cloud.ndb the Google Cloud Datastore ndb client library (#5821) 2021-10-21 07:15:53 +02:00
Jake Bailey 2912ab0092 Update pyright to 1.1.175 (#6110) 2021-10-04 18:17:24 -07:00
Akuli aff3e4d1c5 Create stubs for appdirs (#6047) 2021-09-20 13:20:06 +02:00
Akuli 7ed8da4415 Create stubs for toposort (#6048) 2021-09-19 14:04:23 -07:00
Sebastian Rittau aa4a0c763a Fix distribution name backports.ssl_match_hostname (#5997)
Bump version number to latest version available on pypi

Turn backports.ssl_match_hostname into a package to match upstream
2021-09-18 20:08:21 -07:00
Sebastian Rittau db69e41fda Add setuptools stubs (#5762) 2021-09-18 19:45:23 -07:00
Akuli e69ca588ac Stubs for ttkthemes (#6024) 2021-09-10 15:59:12 +02:00
Akuli 832a24c8a1 Create send2trash stubs (#6000) 2021-09-03 22:51:03 +02:00
Jon Dufresne 4381e0a558 Remove @python2-only third party stubs that aren't also dependencies (#5975)
Closes #5969
2021-08-30 14:23:28 +02:00
Jon Dufresne 9d02cd265d Remove leftover openssl-python in pyright configuration (#5976)
The package was renamed in a98fceca2f.
2021-08-28 19:05:24 +02:00
Jon Dufresne 33b08cb3d7 Remove leftover pyright tornado configuration (#5974)
tornado was removed in 5a7f25584e.
2021-08-28 08:29:40 -07:00
Sam Martin f1da797c62 Addition of aws-xray-sdk package (#5961) 2021-08-26 01:03:38 +02:00
Nsukami _ 5691ea6d6a Stubs for dateparser (#5778)
Stubgen and manual fixes.

Co-authored-by: Akuli <akuviljanen17@gmail.com>
2021-08-12 18:38:52 +03:00
Eric Traut 59624ff09c Updated pyright version to 1.1.160 (#5857)
* Updated pyright version to 1.1.160. Older versions contained a bug that prevented multiple third-party stub packages from having the same top-level module name.

* Disabled "reportUnsupportedDunderAll" diagnostic check for now.

Co-authored-by: Eric Traut <erictr@microsoft.com>
2021-08-06 09:21:57 +02:00
Sebastian Rittau 2410c4f751 Add missing items for distutils.command.* (#5773)
This was mostly generated by running stubgen. Existing annotations were
kept, but converted to use PEP 604 and PEP 585.
2021-07-24 14:04:17 -07:00
Vanessa Ung 2b4bbec0d7 Stubs for humanfriendly (#5790)
Autogenerated with stubgen + manual adjustments to fix e.g. namedtuple, Python versioning, removing unneeded imports, required stubtest packages/allowlist.
2021-07-24 14:01:26 -07:00
Shiva Raisinghani e24f940c7d Stubs for braintree (#5789)
A library that provides integration access to the Braintree Gateway.

I started with stubgen, then cleaned up to address missing functions. Testing plan is to keep an eye on CI and fix any issues that arise.
2021-07-24 13:47:14 -07:00
Jukka Lehtosalo 1ad4b79139 Stubs for selenium (#5792)
These were generated using stubgen, with manual fixes. I tried to remove
exported names that are clearly not part of the public interface, but in many
cases this wasn't obvious so I left the exports, just in case.

I had to do major changes to exported names in `selenium.webdriver` to 
make it work as expected (this was originally implemented by @ilevkivskyi 
in our internal stubs).

Selenium has been working on adding inline type annotations, but it's not clear
when these will be released. The release will be 4.x, and having stubs for 3.x 
could still be valuable for users on older versions.
2021-07-24 13:43:24 -07:00
Jukka Lehtosalo 2d3bde439e Stubs for mysqlclient (#5791) 2021-07-19 10:28:00 +02:00
Jukka Lehtosalo a0f199727b Stubs for psycopg2 (#5783) 2021-07-15 17:29:56 +02:00