Jukka Lehtosalo
8bd3e16eef
Add back module-level __getattr__ to encodings ( #5261 )
...
This is needed for submodules, such as `encodings.cp437`.
2021-04-28 07:45:15 -07:00
Eric Traut
faa5c70f25
Added missing type information for encodings module ( #5106 )
...
Co-authored-by: Eric Traut <erictr@microsoft.com >
2021-03-10 17:18:32 -08:00
Eric Traut
c92e3cb228
Update pyright CI test to use the latest version of pyright (1.1.118). ( #5092 )
...
Update pyright CI test to use the latest version of pyright (1.1.118). Enable all but one of pyright's strictest checks. Add a "# type: ignore" to `__new__` method in `weakref.KeyRef` because it uses a non-standard name for the `cls` parameter, which is flagged as an error by pyright.
Co-authored-by: Eric Traut <erictr@microsoft.com >
2021-03-05 12:12:18 -08:00
Jake Bailey
0fa7e73027
Run pyright on matrix of platforms and python versions ( #5072 )
...
* Run pyright on matrix of platforms and python versions
* Drop 3.10 from matrix, as it fails
2021-02-25 16:24:32 -08:00
Eric Traut
4b4ced5fa0
Added missing type annotations and type arguments ( #5070 )
...
Co-authored-by: Eric Traut <erictr@microsoft.com >
Co-authored-by: Shantanu <hauntsaninja@users.noreply.github.com >
2021-02-25 15:09:58 -08:00
Jake Bailey
c00c7258ea
Add pyright to test suite, pyrightconfig.json ( #5059 )
...
Co-authored-by: Sebastian Rittau <srittau@rittau.biz >
2021-02-23 23:07:42 +01:00