-
When using the meta extension, the `Meta` field of the `Markdown` class is not found by `Pyright`. Perhaps I missed something, can we import a stub file to make this error go away?
For clarity: The…
-
On Ubuntu 20.04.3 LTS, I'm using self-compiled git master version of Emacs with `python-lsp-server`. See the following code completion results given by `python-lsp-server`:
![image](https://user-im…
-
**Bug Report**
Mypy returns errors when it's used to check the whole package but doesn't return any errors when it's run on individual files.
These errors are the same as when you don't …
KapJI updated
2 years ago
-
### setuptools version
setuptools>=70.0.0
### Python version
Python3.10
### OS
macOS
### Additional environment information
Using a custom implementation for live reloading python…
-
I've tried to tackle static typing and got a vendorable protocol that can be checked statically as well as at runtime for all but one case I'm going to detail below.
Protocol
```python
import…
-
Currently the `tuple` constructor only accepts iterables.
https://github.com/python/typeshed/blob/97ccd8985a3b8fd7b888c0653e92f296db6fd56a/stdlib/builtins.pyi#L932-L933
But the `tuple` constructor c…
-
**Bug Report**
When a function accepts a sequence of union of literals, a tuple of those literals is seen as an error.
**To Reproduce**
```python3
from random import choice
from typing impo…
-
I'm uncertain whether `--no-implicit-reexport` has a "correct" behaviour when it comes to `__init.py__` files.
If I have this `__init__.py` file:
```
from .mysub import MyName
```
My intent…
-
For some set of blessed packages that we know have well maintained corresponding stub packages on PyPI, we should detect that the user is using the package and offer to install the stub package.
-
(This issue isn't a complaint, just an FYI!)
The following block of code will always raise `ImportError` if you have the latest version of `webcolors` installed, meaning that the `contextlib.suppre…