-
-
Notifications
You must be signed in to change notification settings - Fork 263
Open
Labels
Description
PyShp Version
latest, 3.03
Python Version
3
Your code
# pip install PyShp[stubs]
# Expected to fail typechecking, as well as at runtime:
import shapefile
with shapefile.Writer('delete_me.shp', shapeType = "1") as w:
w.field("name")
w.point([2,3])
w.record("test")Full stacktrace
mypy cannot find typing info for shapefile.pyOther notes
uv renames the wheel and sdist to PyShp_stubs.* from PyShp-stubs.*
mypy doesn't seem to pick up shapefile.pyi