Fix Pylint warnings.

This commit is contained in:
Sergey Vartanov 2021-11-08 02:53:51 +03:00
parent d2b208ea51
commit 5746edaa3f
22 changed files with 94 additions and 197 deletions

View file

@ -17,9 +17,7 @@ LONGITUDE_MAX_DIFFERENCE: float = 0.5
@dataclass
class BoundaryBox:
"""
Rectangle that limit space on the map.
"""
"""Rectangle that limit space on the map."""
left: float # Minimum longitude.
bottom: float # Minimum latitude.

View file

@ -40,9 +40,7 @@ def osm_zoom_level_to_pixels_per_meter(
class Flinger:
"""
Convert geo coordinates into SVG position points.
"""
"""Convert geo coordinates into SVG position points."""
def __init__(
self,

View file

@ -41,9 +41,7 @@ def norm(vector: np.ndarray) -> np.ndarray:
class Polyline:
"""
List of connected points.
"""
"""List of connected points."""
def __init__(self, points: list[np.ndarray]) -> None:
self.points: list[np.ndarray] = points