-
I have a project using sphinx 2.2.2, sphinx.ext.autodoc, and latest sphinx_autodoc_typehints
Using these two extensions and the below flags in conf.py causes "WARNING: Field list ends without a bla…
-
Is the error with run command
` PHP Fatal error: Declaration of Enqueue\Container\Container::has($id) must be compatible with Psr\Container\ContainerInterface::has(string $id): bool in /var/www/h…
-
### Describe the bug
Constructors for types like `Icon` and `Image` are annotated to take `IconContentT` and `ImageContentT` types. However, the places where these types are used (e.g. in the constru…
-
I put type-hints to all my functions to get nice type-suggestions in Polynotes.
for instance:
```python
def copy_images(df: pd.DataFrame, image_dir: str, data_dir: str) -> pd.DataFrame:
df['pa…
-
## Objective
Python 3.6 and above supports [type hints](https://www.python.org/dev/peps/pep-0484/) and optional statically typing of Python code. Since its introduction is has seen a lot of adoptio…
-
I hope we go only with PHP 7.
Please add `declare(strict_types = 1);` to each file.
`SlevomatCodingStandard.TypeHints.DeclareStrictTypes` does it for you.
-
### Describe the bug
Simple example below.
The `TypeVar` seems to get converted into `py:data` and thus we get an error when the type info in the signature or description tries to link to a `py:c…
-
PHP 8.1 introduced typehints (or maybe PHP 8.0?) on some ArrayAccess interface methods, such as `offsetExists`. This means that (unfortunately) if your code base implements ArrayAccess, but omits the …
-
Using `pytypes-1.0b5` I get:
```
$ python
Python 3.6.5 (default, Mar 31 2018, 05:34:57)
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import py…
-
### Please describe your wishes and possible alternatives to achieve the desired result.
Right now anndata imports most available optional dependencies at import time. We do this since most optional…