kevin1024 / vcrpy

Automatically mock your HTTP interactions to simplify and speed up testing
MIT License
2.69k stars 387 forks source link

Add type annotations #780

Open jwodder opened 11 months ago

jwodder commented 11 months ago

Running mypy on code that uses the latest version of vcrpy fails with the error message "module is installed, but missing library stubs or py.typed marker". Please add type annotations to this project and include a py.typed file in the package to indicate typing support to mypy.

isFakeAccount commented 3 months ago

Is there a particular reason why the py.typed isn't added?

chuckwondo commented 1 month ago

Is there a particular reason why the py.typed isn't added?

Unfortunately, that's not sufficient. Type annotations need to be added throughout the code as well.