perrygeo / python-rasterstats

Summary statistics of geospatial raster datasets based on vector geometries.
BSD 3-Clause "New" or "Revised" License
525 stars 117 forks source link

Python 3 upgrades #283

Closed mwtoews closed 1 year ago

mwtoews commented 1 year ago

This was mostly automated using pyupgrade, which does several things mostly related to Python 2 to 3 upgrades:

The only manual edit is to rephrase an exception message in src/rasterstats/main.py

perrygeo commented 1 year ago

@mwtoews Looks good, thanks once again!