tomalrussell / snkit

spatial networks toolkit (python)
MIT License
31 stars 10 forks source link

Improve split_multilinestrings #54

Closed thomas-fred closed 2 years ago

thomas-fred commented 2 years ago

Delegate the hard work to geopandas.

thomas-fred commented 2 years ago

Can you see why flake8 would be complaining about a syntax error in python 3.7 here?

Turns out I'd used a 3.8 feature... f"{var=}"

This breaks flake8 for 3.7 while it's trying to build its abstract syntax tree so it throws up its hands and E999s.

tomalrussell commented 2 years ago

Ah, good spot. I will bump our Python requirements for the next release to 3.8-3.10, which keeps track with numpy since 1.22 and pandas since 1.4.