-
Code sample in [basedpyright playground](https://basedpyright.com/?pythonVersion=3.13&typeCheckingMode=all&code=GYJw9gtgBAhgRgYygSwgBzCALrOBnLEGBLCAUywAswATAKAYQBsY88oAxMMALjqgFQAAvAJES5KrX6CaZYFGDcAF…
-
# 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…
-
Having users directed to the `attrs` issue tracker with `pyright` type-checking issues described as bugs in attrs doesn't feel great.
_Originally posted by @hynek in https://github.com/python-attrs…
-
I am finding increasingly difficult with pylsp which does not work if the module imports dynamically. While reading about this issue, I could feel that pyright would be better choice than for Python c…
wxguy updated
8 months ago
-
For the next code (which runs without errors):
```
import numpy as np
print (np.sign(-1))
```
I got the error with pyright in emacs:
```
"sign" is not a known member of module (lsp)
```
…
-
With https://trac.sagemath.org/ticket/30361, the configuration file for [pyright](https://github.com/microsoft/pyright) is added. It would be good to add it also a check in the patchbot.
Moreover,…
-
> Hi I am facing a similar issue
>
>
>
> I package my python application into a wheel file .pyc and .pyi files
>
>
>
> Pylance reports the following error since it expects .py files
>
> `Import…
-
Thank you for this awesome tool!
[pyright](https://github.com/Microsoft/pyright) is a static type checker for Python. It is typically 5x or more faster than [mypy](http://mypy-lang.org/) and other …
-
Hey all,
I know the README says it doesn't make sense to use `django-stubs` without mypy, because mypy uses a plugin for cases where type hints alone don't work. Sorry if this question is a waste o…
-
**To Reproduce**
```python
from collections.abc import Sequence
from pandas import read_csv
cols1: Sequence[str] = ["a"]
def cols2(x: set[float]) -> bool: return sum(x) < 1.0
read_csv("file.c…