You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# 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.py
Other notes
uv renames the wheel and sdist to PyShp_stubs.* from PyShp-stubs.*
Activity
[-]MyPy doesnt find PyShp_stubs[/-][+]MyPy doesn't find PyShp-stubs[/+]JamesParrott commentedon May 17, 2026
Fixed in v3.0.4