Commit Graph

19 Commits

Author SHA1 Message Date
Eric Traut
90695fadd1 Updated pyright to latest version (#7132) 2022-02-04 21:09:00 -08:00
Sebastian Rittau
e77a66aced Update pyright (#6840) 2022-01-07 18:58:15 +02:00
Alex Waygood
1fa1270e00 Bump pyright version to 1.1.192 (#6478) 2021-12-03 09:08:35 +01:00
Jelle Zijlstra
9eabedca5f Make NoReturn a SpecialForm (#6290)
This is consistent with the runtime definition: https://github.com/python/cpython/blob/main/Lib/typing.py#L434.

The previous definition was wrong; NoReturn is not and should not be equivalent to None. This fixes an issue in pyanalyze where it was interpreting NoReturn as equivalent to None.
2021-11-12 17:34:44 -08:00
Sebastian Rittau
ce94db762c Update pytype and pyright (#6222)
* Upgrade pytype

* Update pyright
2021-11-02 09:19:07 -07:00
Jake Bailey
2912ab0092 Update pyright to 1.1.175 (#6110) 2021-10-04 18:17:24 -07: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
Jake Bailey
96429cd4bd Update pyright to 1.1.152 (#5685) 2021-06-24 00:11:33 +02:00
Jake Bailey
c4dc935b3f Add a stricter config pass for pyright (#5612) 2021-06-10 20:10:12 +02:00
Jelle Zijlstra
e47eff31f7 bump various dependencies (#5551) 2021-05-29 20:05:09 +03:00
Jake Bailey
6d0b7889d3 Bump to pyright 1.1.142 (#5515) 2021-05-21 10:32:22 -07:00
Jake Bailey
0351168b40 Bump pyright to 1.1.140 (#5480) 2021-05-16 19:20:18 -07:00
Shantanu
4bf4d6adb6 Bump pyright (#5357)
For #5348

Co-authored-by: hauntsaninja <>
2021-05-06 15:26:24 -07:00
Jake Bailey
a334a29c96 Bump pyright, disable PR/commit commenting for all but one job (#5347)
* Bump pyright, disable PR/commit commenting for now

* Show comments for 3.9

* And only on Linux
2021-05-05 22:49:21 +03:00
Jake Bailey
413276f411 Use pyright-action to run pyright, bump pyright (#5274)
I recently published https://github.com/marketplace/actions/run-pyright, which wraps pyright and uses GHA magic to leave diagnostics on commits / PRs (like https://github.com/jakebailey/pyright-action-test/pull/1/files), plus a faster startup time thanks to GHA tool caching and piggy backing off of the `node` install used in GHA itself (so no `setup-node` needed).

This PR switches to that action and leaves a comment noting that the version number is pinned in two places.

This action is a prototype, but I'm pretty confident in it so far.
2021-04-30 18:06:58 -07:00
Jake Bailey
f626da6553 Bump pyright to 1.1.126, enable 3.10 testing (#5153) 2021-03-30 11:57:55 -07: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
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