James Parrott
James Parrott
@schwehr I've added some basic type hints, https://github.com/GeospatialPython/pyshp/blob/8015acc782e3ff6d4eee2b88005b4c1190d2a593/shapefile.py#L151 and have set up dmypy in CI via pre-commit. Ruff and Ruff-format too. New contributors should be able to install pre-commit themselves,...
Mostly completed by [19010df](https://github.com/GeospatialPython/pyshp/commit/19010dfbe0ef7a7ac0d9c2d1a62585a6a4cd2ec4), except for 2 or 3 limited exceptions that I'll open specific issues for.
I can recreate this, but it's very sensitive to the floating-point value of the first point (7, 1), and the bug does not occur when the line string is replaced...
Perhaps this is because in general, `dict`s are not type safe? Does it cause a performance hit to make a StrictCounter subclass that can only have integer values? In my...
Well OK, if there's already special code in type checkers to support `Counter.get`, a correct description of that needs to have the same return type as `dict.get`. Else it must...
Please post the Python code enclosed in triple back ticks. How're we supposed to know we're not downloading malware in paho-mqtt-871-reproducer ?.
Hi there @1R053. This issue can be closed. I figured this out how to get this working with your help (I needed a reminder to add client:load). Using react components...
It would be good to prevent overflows, but there's also an argument that this use case is not supported. Firstly: Is there a need for NaN in computational geometry(*)? NaN...
I think I've recreated this, without requiring NaN (or cosmologically-unphysical-extemely-large floating point numbers). This used valgrind, in a Ubuntu Jammy container (hosted on Windows) with geos-bin installed (so Geos 3.10.2...
I've nothing more constructive to contribute I'm afraid, but I have reproduced this error.