Optimize imports.

This commit is contained in:
Sergey Vartanov 2021-11-18 07:54:19 +03:00
parent 1197a60bac
commit d12166143a
3 changed files with 8 additions and 7 deletions

View file

@ -1,12 +1,13 @@
"""
Buildings on the map.
"""
from typing import Any, Optional
import numpy as np
from colour import Color
from svgwrite import Drawing
from svgwrite.container import Group
from svgwrite.path import Path
from typing import Any, Optional
from map_machine.drawing import PathCommands
from map_machine.feature.direction import Segment

View file

@ -1,14 +1,14 @@
"""
Direction tag support.
"""
from colour import Color
from svgwrite import Drawing
from svgwrite.gradients import RadialGradient
from svgwrite.path import Path
from typing import Iterator, Optional
import numpy as np
from colour import Color
from portolan import middle
from svgwrite import Drawing
from svgwrite.gradients import RadialGradient
from svgwrite.path import Path
from map_machine.drawing import PathCommands
from map_machine.osm.osm_reader import Tagged

View file

@ -2,12 +2,12 @@
Map drawing configuration.
"""
import argparse
from colour import Color
from dataclasses import dataclass
from enum import Enum
from typing import Optional
from colour import Color
__author__ = "Sergey Vartanov"
__email__ = "me@enzet.ru"