-
Steps to reproduce: install [rye](https://rye.astral.sh), then for instance:
```bash
mkdir repro
cd repro
rye init
rye add quart
echo "import quart" > src/repro/foo.py
rye install pyright
py…
-
# Summary
Note: cross posted from the pyright repository, here: https://github.com/microsoft/pyright/issues/5219
Pyright is a type checker for python. When following the faiss tutorial, pyright fa…
-
Currently, it is hard to instrument Pyright, and upgrading it at a different cadence than Pylance is impossible.
At Stripe, we run certain aspects of our CI infrastructure through Pyright and we wa…
-
In this code:
```Python
class MyClass:
var = "value"
def class_abuser():
MyClass.var = "test"
```
Both occurrences have an incorrect symbol role of read access.
I hacked a patch for my us…
-
**ACTION NEEDED:** This version of pyright will be merged on **2024-07-15**. The build will begin to fail for this library if errors are not fixed.
**Library name:** azure-healthinsights-radiologyins…
-
Our linter complains about the type returned by some Table methods, which are inherited from DataFrame.
I've been trying to fix this in https://github.com/owid/etl/pull/2854/. I'm not sure how to f…
-
## Positron Version:
Positron Version: 2024.06.1 (Universal) build 27
## Steps to reproduce the issue:
1. Hover over any symbol.
2. The hover will include two symbols, like this:
…
-
### Initial Checks
- [X] I confirm that I'm using Pydantic V2
### Description
when specifying the default value to `Field` as a positional argument, neither mypy or pyright recognizes it and …
-
https://github.com/microsoft/pylance-release/blob/main/releases/latest-release.json
This should be `1.1.371`.
See also: https://github.com/jakebailey/pyright-action/issues/133
-
For some reason, when `disableBytesTypePromotions = false`, basedpyright no longer reports `unnecessaryIsInstance` in the code below:
```python
x: bytes = ... # pyright: ignore[reportAssignmentType…