Commit Graph

15 Commits

Author SHA1 Message Date
Vanessa Ung
607aa37ee9 Babel stubs (#5775)
Basic stubs made with stubgen & manual fixes. Also, reorder 
pyrightconfig.stricter.json, I didn't realise it was mostly ordered 
when I added to it previously.
2021-07-14 09:24:19 +01:00
Shiva Raisinghani
0cd4ee39a2 Stubs for stripe (#5770)
A library that provides convenient access to the Stripe API from applications. 
It includes a pre-defined set of classes for API resources that initialize themselves 
dynamically from API responses.

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-13 15:11:27 +01:00
Vanessa Ung
80f61d2209 Stubs for oauthlib (#5766)
This was generated with stubgen, with a touch of manual intervention to clean up and 
have it pass tests.
2021-07-13 09:54:50 +01:00
Shiva Raisinghani
ce94e8bba6 Add stubs for slumber (#5764) 2021-07-12 21:03:08 +02:00
Sebastian Rittau
3bb397055c Improve distutils and lib2to3 (#5763)
Add missing elements to distutils.util:

* run_2to3()
* copydir_run_2to3()
* Mixin2to3

Use PEP 604 and PEP 585.

Add lib2to3.refactor.
2021-07-12 20:15:54 +02:00
Jelle Zijlstra
7f320c6b9e Stubs for beautifulsoup4 (#5758)
Stubgen and manual fixes, don't bother with Python 2
2021-07-11 17:02:51 +03:00
Akuli
e676fcabd3 Create pygments stubs (#5759)
* run stubgen

* replace individual lexers with __getattr__ in lexers/__init__.pyi

* replace individual styles with __getattr__ in styles/__init__.pyi

* import-export each formatter into formatters/__init__.pyi

* clean up slightly with quick and dirty script

* manual fixing
2021-07-11 16:27:35 +03:00
Sebastian Rittau
a7446632f7 Add third-party vobject stubs (#5733) 2021-07-08 18:26:24 -07:00
Sebastian Rittau
1cffceb767 Add httplib2 third-party stubs (#5713) 2021-06-30 07:54:02 -07:00
Sebastian Rittau
2b35ea5f91 Add caldav third-party stubs (#5684)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2021-06-30 16:28:40 +02:00
Sebastian Rittau
40b127d46a Add third-party commonmark stubs (#5702) 2021-06-30 07:19:43 -07:00
Sebastian Rittau
f260ea2383 Add html5lib third-party stubs (#5701) 2021-06-29 21:15:59 -07:00
Sebastian Rittau
bc2ec748f6 Move routes stubs to @python2 directory (#5637)
* Move routes stubs to @python2 directory

* Ignore Python-2-only stubs for stubtest

* Use standard idiom for re-exporting items

Co-authored-by: Akuli <akuviljanen17@gmail.com>
2021-06-18 17:05:23 +03:00
Sebastian Rittau
4c3e3a68a6 Update bleach stubs (#5631) 2021-06-14 06:50:51 -07:00
Jake Bailey
c4dc935b3f Add a stricter config pass for pyright (#5612) 2021-06-10 20:10:12 +02:00