-
**Describe the bug**
Occasionally, when running pyright, the check will fail with the following error:
```
Partition #3 - python-default, ['CPython==3.10.*']:
npm notice
npm notice New major v…
d-tw updated
5 months ago
-
> 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…
-
**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…
-
If this cannot be used with pyright (isntead of mypy), then what needs to happen so that it can be used with pyright?
-
**Issue:**
`scip-python` (v0.3.3) produces a fatal error while indexing our source tree during the "Analyze project and dependencies" phase:
```
$ scip-python index \
--project-name=redacted…
-
This is my `pyrightconfig.json`
```
{
"exclude": ["images/**", "**/__pycache__"],
"ignore": ["images/**", "**/__pycache__"],
"venvPath": "/home/sreenivas/anaconda3/envs",
"venv": "…
-
### What is your issue?
`Pyright` is a full-featured, standards-based static type checker for Python, recently I tried it with xarray and get an error.
And `mypy` generates the same error.
So I won…
-
In addition to mypy-primer, it would be useful to have a pyright-primer to see how changes we make affect pyright's type checking.
@erictraut do you agree? Would your team be able to help set this …
-
### Initial Checks
- [X] I have searched Google & GitHub for similar requests and couldn't find anything
- [X] I have read and followed [the docs](https://docs.pydantic.dev) and still think this f…
-
pyright seems to get bugs fixed pretty quickly, so it might be:
- better than mypy for type-checking
- better than pyls for default python langserver