-
-
Where adding a type hint would require a cyclic import, PEP484 allows guarded imports and forward references by embedding the type hint in quotes. Pylint doesn't understand this, and considers any im…
-
I'm trying to design a simple signal/slot package that is pep484-compatible, but it's proving trickier than I thought. The problem is that the type-checked signatures of the generic class's methods …
-
## Details
My python 3.6 project sphinx documentation builds ok locally but stumbles on python 3 type annotations encountered in a .. autodoc of a module containing such annotated functions.
* P…
-
The way those type comments are unparsed goes against rules of PEP484. This leads to errors when unparsed files are parsed again by `typed_ast` - no errors with `ast`.
```
def function_b8(spam=0, …
-
cat foo.py
def foo(arg=None):
"""Some summary.
Args:
arg (NoneType, optional): Some description here.
"""
pass
Produces this output:
…
-
Now that PEP 561 is supported by mypy I wonder whether we should accept new third party stubs into typeshed. Personally, I think we should steer those contributions to either be included into the pare…
-
Documentation of the functions in this script needs to be updated. Some functions are missing docstrings, and some have docstrings but they are outdated, for example:
```python
def resolve_address…
-
I see that Jedi can perform parameter type inference on docstrings and pep484, however I'm trying to add my own (for quite a custom use-case).
The use-case is that functions are wrapped in decorato…
-
I've assumed it'd be next to impossible to add type annotations to CoffeeScript, but thought we should open an issue to discuss if it might be possible. Static Typing is undergoing a renaissance of so…