box / box/box-python-sdk

Missing py.typed marker in box_sdk_gen causes mypy import-untyped error

Ouverte
#1,154 3 commentaires 0 réactions 5 personnes assignées Réclamée par @mwwoda Voir sur GitHub
enhancement
Langage dominant
Python
Étoiles
459
Forks
223
Merge moyen
8 h 57 min
PR mergées (30 j)
13

Description

When I run `mypy` on my project, it highlights the following import:

```python
from box_sdk_gen import ...
```

with the error:

```
error: Skipping analyzing "box_sdk_gen": module is installed, but missing library stubs or py.typed marker [import-untyped]
```

This can be simply resolved by adding a `py.typed` file to the root of the `box_sdk_gen` package to indicate that the package includes type hints.

[More details](https://typing.python.org/en/latest/spec/distributing.html#packaging-type-information).

Image

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.