Commit Graph

101 Commits

Author SHA1 Message Date
Nikita Sobolev
b91ebd3096 Remove pytz from pyrights exclude (#9041) 2022-10-31 21:08:41 -07:00
Nikita Sobolev
45ccfbc9f3 Remove tree-sitter from pyright's exclude (#8946)
Co-authored-by: Akuli <akuviljanen17@gmail.com>
2022-10-24 09:48:54 -07:00
Shantanu
19f57a6e57 Remove tzlocal from pyright's exclude (#8969) 2022-10-23 14:30:57 +02:00
Nikita Sobolev
7ed599e848 Remove parts of tkinter from pyright exclude (#8958) 2022-10-21 19:18:04 +03:00
Nikita Sobolev
918f2266da Remove editdistance from pyright's exclude (#8941) 2022-10-20 07:15:09 -07:00
Nikita Sobolev
c7983ec8d5 Remove mock from pyright's exclude (#8942) 2022-10-20 07:11:11 -07:00
Nikita Sobolev
b0b0cc6474 Remove pyvmomi from pyright's exclude (#8943) 2022-10-20 07:10:34 -07:00
Nikita Sobolev
4276136d7a Remove simplejson from pyright's exclude (#8945) 2022-10-20 13:22:15 +01:00
Nikita Sobolev
8a7cb1396a Remove some packages from pyright's exclude: they are correct (#8948) 2022-10-20 10:19:53 +01:00
Nikita Sobolev
27d4113779 Remove consolemenu from pyright's exclude (#8940) 2022-10-20 09:32:04 +01:00
Nikita Sobolev
f9b89878a5 Remove dj-database-url from pyright exclude (#8939) 2022-10-20 01:24:49 -07:00
kasium
a9236f9cc9 Add stubs for python-cronlog (#8917)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-10-19 18:06:55 -07:00
Jonathan Plasse
fa82452aa0 Add paho-mqtt stubs (#8853) 2022-10-06 17:23:35 +02:00
Akuli
1cb5482554 Add auto-generated peewee stubs (#8834) 2022-10-04 12:35:07 +02:00
Samuel T
0b71c96970 Add pywin32 type stubs from microsoft/python-type-stubs and mhammond/pywin32 (#8825) 2022-10-03 09:32:43 -07:00
Giles Johnson
aab29f626c Add type stubs for package console-menu (#8820)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-10-03 09:22:39 -07:00
Samuel T
dba47e0cfe Add reportMissingParameterType to pyrightconfig.stricter.json (#8770) 2022-09-21 16:19:09 -07:00
Sebastian Rittau
9b306c3367 Remove selenium stubs (#8753)
Closes: #7381
2022-09-16 15:39:14 +02:00
Adrian Freund
205901e2fd Add type stubs for cffi (#8736)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-09-14 23:44:33 +01:00
Samuel T
4f2666ba8e Complete pyautogui stubs (#8684)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-09-09 12:34:45 +01:00
Samuel T
939fc86e79 Added stubs for keyboard (#8666) 2022-09-05 14:34:11 -07:00
Alex Waygood
fd4feba2c9 Enable pyright's reportUnnecessaryTypeIgnoreComment setting for the whole test_cases directory (#8683) 2022-09-05 15:20:04 +02:00
Samuel T
4c100febcd Add stubs for pyautogui (#8654)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-09-03 12:45:20 +01:00
Akuli
5ea1b1e6de Add types to tkinter.colorchooser.askcolor (#8588) 2022-08-22 18:15:37 +02:00
Akuli
c9ebeb501c Add stubs for tree_sitter (#8533)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-08-16 21:48:59 -07:00
Akuli
5e5f3b4ecc Use typeshed.Incomplete and object instead of Any in tkinter stubs (#8458)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-08-02 22:10:25 +03:00
Shantanu
4b34b345f1 Add missing third party modules (#8321)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: hauntsaninja <>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-07-19 08:11:29 +01:00
Alex Waygood
6bc6289aaf Use stricter pyright settings for some tkinter stubs (#8291) 2022-07-13 17:16:16 +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
Alex Waygood
78d96cd17e Drop support for Python 2 (#8272) 2022-07-12 09:08:56 +02:00
Andrej Shadura
043d9dac61 Add missing aiofiles.tempfile classes (#7523)
Fixes: #6524

Co-authored-by: Andrej Shadura <andrew.shadura@collabora.co.uk>
Co-authored-by: AlexWaygood <alex.waygood@gmail.com>
2022-07-05 23:50:19 +02:00
Daniel Rembiszewski
c23cb7be75 Add stubs for tqdm (#8235)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-07-05 18:34:11 +01:00
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