box / box/box-python-sdk

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

Aperta
#1,154 3 commenti 0 reazioni 5 assegnatari Rivendicata da @mwwoda Vedi su GitHub
enhancement
Lingua principale
Python
Stelle
459
Fork
223
Merge medio
8h 57m
PR unite (30g)
13

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.