During an open pull request,
if isinstance(ROI, (Polygon,MultiPolygon)): did not get auto-formatted to
if isinstance(ROI, (Polygon, MultiPolygon)):, (note the missing space).
However, if you run the same version of black as specified in github actions log in the command line the spacing takes effect.
One thing I observed from the logs is the Black auto-formats properly after a open pull request is merged into main. My initial suspicion is that this might have to do something with black having to wait for isort to finish execution and then running but more observation is needed.
During an open pull request,
if isinstance(ROI, (Polygon,MultiPolygon)):
did not get auto-formatted toif isinstance(ROI, (Polygon, MultiPolygon)):
, (note the missing space).However, if you run the same version of black as specified in github actions log in the command line the spacing takes effect.
One thing I observed from the logs is the Black auto-formats properly after a open pull request is merged into main. My initial suspicion is that this might have to do something with black having to wait for isort to finish execution and then running but more observation is needed.