-
Nowadays many tools(like `mypy` or `pyright`) start to provide type check. Would this project add typing stubs in the future?
![image](https://user-images.githubusercontent.com/45957390/150147489-146…
-
More info:
- https://www.python.org/dev/peps/pep-0484/
-
This would help people who'd like to use sortedcontainers in a project with mypy type checking.
https://github.com/python/mypy/wiki/Creating-Stubs-For-Python-Modules
-
### Describe the issue:
See code below.
The revealed type is `bool`. But the code will raise an exception. The revealed type should be `NoReturn` . `bool(x)` raises as well.
Note - there is …
-
Acceptable type hints in MongoEngine
-
Hi
I have been using mypy together with Antlr4 python generated code for some time. This has mainly worked since I have been able to exclude any Antlr4 generated files from the mypy-check since they …
-
The existing check for determining whether to use numpy or google docstrings looks like this:
```
found_numpy = yield from self._check_numpy_sections(lines, definition, docstring)
…
-
The motivation is really uncompelling. It describes what intersections do, but not why we need them. I think it would be better to dig through the mypy issues to find various problems that require i…
-
Following #7188, we can now have:
```python
from typing import overload
from typing_extensions import Literal
class Cat:
@overload
def __new__(cls, name: Literal['Tabby']) -> 'Tabby'…
-
There's been some discordant opinions re. annotations recently, so I'd like to reach a consensus on project-wide guidelines.
The below is a first draft and represents my personal opinion only - pleas…