Skip to content

Commit f442a6f

Browse files
committed
Remove extra comments after pylint directive
1 parent ac0142a commit f442a6f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/shapefile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -558,8 +558,8 @@ def __geo_interface__(self) -> GeoJsonShapeT:
558558
ps = part
559559

560560
# coordinates.append([tuple(p) for p in self.points[part:]])
561-
coordinates.append(list(self.points[part:])) # pylint: disable=undefined-loop-variable (assert len(self.parts) >1)
562-
561+
# assert len(self.parts) >1 # so disable pylint rule
562+
coordinates.append(list(self.points[part:])) # pylint: disable=undefined-loop-variable
563563
return {"type": "MultiLineString", "coordinates": coordinates}
564564

565565
if self.shapeType in [POLYGON, POLYGONM, POLYGONZ]:

0 commit comments

Comments
 (0)