-
#### Software versions
Python 3.9.7
pytype 2021.11.18
#### Testcases
repr1.py:
```python
import mmap
x = mmap.mmap(-1, 4096)
y = memoryview(x)
```
repr2.py:
```python
import array
x =…
-
(Re-post from https://github.com/microsoft/pyright/issues/9392, hoping this is the correct repository for this issue)
I now use `scoop` (https://scoop.sh/) to install `uv`, then `uv` to install `py…
-
Runs are listed here: https://github.com/AlexWaygood/typeshed-stats/actions/workflows/test.yml
-
having the pypi package download both node and the npm package when you first run the `pyright` command causes some issues:
- we have a docker image where all the dependencies are installed, but wh…
-
**Describe the bug**
Black reformats the following `.pyi` stub file:
```py
def foo(): ...
@decorator
class Bar: ...
```
to this:
```py
def foo(): ...
@decorator
class Bar: ...
``…
-
❓ **I'm submitting a ...**
- [ ] 🐞 bug report
- [X] 🐣 feature request
- [ ] ❓ question about the decisions made in the repository
🐣 **Describe the solution you'd like**
It would be great to see…
-
This project could benefit from some example code.
Is it possible to use this to access type annotation for built in functions such as `time.sleep`?
I would like to access the annotations `def…
-
When getting the data out of a `urllib.request.Request` object, `mypy` is erroring saying that `decode` is not supported even tho it is a `bytes` object (and does not error when at runtime).
```conso…
-
This comes from https://github.com/python/typeshed/pull/11497#discussion_r1507037353
`# pyright:ignore` --> `# pyright: ignore`
`# type:ignore` --> `# type: ignore`
`# noqa:Y011` --> `# noqa: Y011`…
-
**Bug Report**
It seems dmypy stops seeing errors when you give it exact paths.
**To Reproduce**
I have created a repository here with a command that creates a virtualenv and instruct…