diff --git a/map_machine/color.py b/map_machine/color.py index 8eac388..862a010 100644 --- a/map_machine/color.py +++ b/map_machine/color.py @@ -1,6 +1,4 @@ -""" -Color utility. -""" +"""Color utility.""" from typing import Any from colour import Color diff --git a/map_machine/constructor.py b/map_machine/constructor.py index 76d7e98..ed5895e 100644 --- a/map_machine/constructor.py +++ b/map_machine/constructor.py @@ -1,6 +1,4 @@ -""" -Construct Map Machine nodes and ways. -""" +"""Construct Map Machine nodes and ways.""" import logging import sys from datetime import datetime diff --git a/map_machine/doc/__init__.py b/map_machine/doc/__init__.py index 12eaacc..0ed2dca 100644 --- a/map_machine/doc/__init__.py +++ b/map_machine/doc/__init__.py @@ -1,3 +1 @@ -""" -Documentation utilities. -""" +"""Documentation utilities.""" diff --git a/map_machine/doc/doc_collections.py b/map_machine/doc/doc_collections.py index 181a644..92ea15a 100644 --- a/map_machine/doc/doc_collections.py +++ b/map_machine/doc/doc_collections.py @@ -1,6 +1,4 @@ -""" -Special icon collections for documentation. -""" +"""Special icon collections for documentation.""" import json from dataclasses import dataclass, field from pathlib import Path diff --git a/map_machine/doc/draw_elements.py b/map_machine/doc/draw_elements.py index ab885e0..5dbf678 100644 --- a/map_machine/doc/draw_elements.py +++ b/map_machine/doc/draw_elements.py @@ -1,6 +1,4 @@ -""" -Draw test nodes, ways, and relations. -""" +"""Draw test nodes, ways, and relations.""" import logging from pathlib import Path from typing import Optional diff --git a/map_machine/doc/icons.py b/map_machine/doc/icons.py index 376059b..b4ef2d9 100644 --- a/map_machine/doc/icons.py +++ b/map_machine/doc/icons.py @@ -1,6 +1,4 @@ -""" -Icon grids for documentation. -""" +"""Icon grids for documentation.""" from pathlib import Path from typing import Iterable diff --git a/map_machine/doc/moire_manager.py b/map_machine/doc/moire_manager.py index 7a01dfd..060da7c 100644 --- a/map_machine/doc/moire_manager.py +++ b/map_machine/doc/moire_manager.py @@ -1,6 +1,4 @@ -""" -Moire markup extension for Map Machine. -""" +"""Moire markup extension for Map Machine.""" import argparse from abc import ABC from pathlib import Path diff --git a/map_machine/doc/preview.py b/map_machine/doc/preview.py index 1cb7035..c4e19e3 100755 --- a/map_machine/doc/preview.py +++ b/map_machine/doc/preview.py @@ -1,6 +1,4 @@ -""" -Actions to perform before commit: generate PNG images for documentation. -""" +"""Actions to perform before commit: generate PNG images for documentation.""" import logging import sys from pathlib import Path diff --git a/map_machine/doc/wiki.py b/map_machine/doc/wiki.py index 516b432..32da8c2 100644 --- a/map_machine/doc/wiki.py +++ b/map_machine/doc/wiki.py @@ -1,6 +1,4 @@ -""" -Automate OpenStreetMap wiki editing. -""" +"""Automate OpenStreetMap wiki editing.""" import re from pathlib import Path from typing import Optional diff --git a/map_machine/drawing.py b/map_machine/drawing.py index b83708b..e65277d 100644 --- a/map_machine/drawing.py +++ b/map_machine/drawing.py @@ -1,6 +1,4 @@ -""" -Drawing utility. -""" +"""Drawing utility.""" from dataclasses import dataclass from pathlib import Path from typing import Optional, Union diff --git a/map_machine/element/single.py b/map_machine/element/single.py index b82a04d..82a50e0 100644 --- a/map_machine/element/single.py +++ b/map_machine/element/single.py @@ -1,6 +1,4 @@ -""" -Drawing separate map elements. -""" +"""Drawing separate map elements.""" import argparse import logging from pathlib import Path diff --git a/map_machine/feature/building.py b/map_machine/feature/building.py index 5e97b56..104b533 100644 --- a/map_machine/feature/building.py +++ b/map_machine/feature/building.py @@ -1,6 +1,4 @@ -""" -Buildings on the map. -""" +"""Buildings on the map.""" import numpy as np from colour import Color from svgwrite import Drawing diff --git a/map_machine/feature/crater.py b/map_machine/feature/crater.py index 29885fd..35fe3a4 100644 --- a/map_machine/feature/crater.py +++ b/map_machine/feature/crater.py @@ -1,6 +1,4 @@ -""" -Crater on the map. -""" +"""Crater on the map.""" import numpy as np from colour import Color from svgwrite import Drawing diff --git a/map_machine/feature/direction.py b/map_machine/feature/direction.py index b86d935..d3b69f8 100644 --- a/map_machine/feature/direction.py +++ b/map_machine/feature/direction.py @@ -1,6 +1,4 @@ -""" -Direction tag support. -""" +"""Direction tag support.""" from typing import Iterator, Optional import numpy as np diff --git a/map_machine/feature/road.py b/map_machine/feature/road.py index b4770d6..65e424a 100644 --- a/map_machine/feature/road.py +++ b/map_machine/feature/road.py @@ -1,6 +1,4 @@ -""" -WIP: road shape drawing. -""" +"""WIP: road shape drawing.""" import logging from collections import defaultdict from dataclasses import dataclass diff --git a/map_machine/figure.py b/map_machine/figure.py index 1f5d4c4..654b48a 100644 --- a/map_machine/figure.py +++ b/map_machine/figure.py @@ -1,6 +1,4 @@ -""" -Figures displayed on the map. -""" +"""Figures displayed on the map.""" import numpy as np from map_machine.geometry.flinger import Flinger diff --git a/map_machine/geometry/boundary_box.py b/map_machine/geometry/boundary_box.py index e35706d..9dc0411 100644 --- a/map_machine/geometry/boundary_box.py +++ b/map_machine/geometry/boundary_box.py @@ -1,6 +1,4 @@ -""" -Rectangle that limit space on the map. -""" +"""Rectangle that limit space on the map.""" import logging import re from dataclasses import dataclass diff --git a/map_machine/geometry/flinger.py b/map_machine/geometry/flinger.py index 5f0065c..a7f6f4b 100644 --- a/map_machine/geometry/flinger.py +++ b/map_machine/geometry/flinger.py @@ -1,6 +1,4 @@ -""" -Geo projection. -""" +"""Geo projection.""" from typing import Optional import numpy as np diff --git a/map_machine/geometry/vector.py b/map_machine/geometry/vector.py index c583479..c6a79f3 100644 --- a/map_machine/geometry/vector.py +++ b/map_machine/geometry/vector.py @@ -1,6 +1,4 @@ -""" -Vector utility. -""" +"""Vector utility.""" import numpy as np __author__ = "Sergey Vartanov" diff --git a/map_machine/main.py b/map_machine/main.py index af769c2..b003443 100644 --- a/map_machine/main.py +++ b/map_machine/main.py @@ -1,6 +1,4 @@ -""" -Map Machine entry point. -""" +"""Map Machine entry point.""" import argparse import logging import sys diff --git a/map_machine/map_configuration.py b/map_machine/map_configuration.py index 9161391..0b4b272 100644 --- a/map_machine/map_configuration.py +++ b/map_machine/map_configuration.py @@ -1,6 +1,4 @@ -""" -Map drawing configuration. -""" +"""Map drawing configuration.""" import argparse from dataclasses import dataclass from enum import Enum diff --git a/map_machine/mapcss.py b/map_machine/mapcss.py index 35d3cc3..75c9981 100644 --- a/map_machine/mapcss.py +++ b/map_machine/mapcss.py @@ -1,6 +1,4 @@ -""" -MapCSS scheme creation. -""" +"""MapCSS scheme creation.""" import argparse import logging from pathlib import Path diff --git a/map_machine/mapper.py b/map_machine/mapper.py index 970db86..288716b 100644 --- a/map_machine/mapper.py +++ b/map_machine/mapper.py @@ -1,6 +1,4 @@ -""" -Simple OpenStreetMap renderer. -""" +"""Simple OpenStreetMap renderer.""" import argparse import logging import sys diff --git a/map_machine/osm/osm_getter.py b/map_machine/osm/osm_getter.py index e47f875..86e5192 100644 --- a/map_machine/osm/osm_getter.py +++ b/map_machine/osm/osm_getter.py @@ -1,6 +1,4 @@ -""" -Getting OpenStreetMap data from the web. -""" +"""Getting OpenStreetMap data from the web.""" import logging import time from dataclasses import dataclass diff --git a/map_machine/osm/osm_reader.py b/map_machine/osm/osm_reader.py index af06ae4..f6beea9 100644 --- a/map_machine/osm/osm_reader.py +++ b/map_machine/osm/osm_reader.py @@ -1,6 +1,4 @@ -""" -Parse OSM XML file. -""" +"""Parse OSM XML file.""" import json import logging import re diff --git a/map_machine/pictogram/__init__.py b/map_machine/pictogram/__init__.py index a667ec5..ec2b26b 100644 --- a/map_machine/pictogram/__init__.py +++ b/map_machine/pictogram/__init__.py @@ -1,3 +1 @@ -""" -Icons and points. -""" +"""Icons and points.""" diff --git a/map_machine/pictogram/icon.py b/map_machine/pictogram/icon.py index 7810d07..b294d97 100644 --- a/map_machine/pictogram/icon.py +++ b/map_machine/pictogram/icon.py @@ -1,6 +1,4 @@ -""" -Extract icons from SVG file. -""" +"""Extract icons from SVG file.""" import json import logging import re diff --git a/map_machine/pictogram/icon_collection.py b/map_machine/pictogram/icon_collection.py index 1b4b8db..b3085b3 100644 --- a/map_machine/pictogram/icon_collection.py +++ b/map_machine/pictogram/icon_collection.py @@ -1,6 +1,4 @@ -""" -Icon grid drawing. -""" +"""Icon grid drawing.""" import logging import shutil from dataclasses import dataclass diff --git a/map_machine/pictogram/point.py b/map_machine/pictogram/point.py index 0704736..b4ca20c 100644 --- a/map_machine/pictogram/point.py +++ b/map_machine/pictogram/point.py @@ -1,6 +1,4 @@ -""" -Point: node representation on the map. -""" +"""Point: node representation on the map.""" import logging from typing import Optional diff --git a/map_machine/scheme.py b/map_machine/scheme.py index ce3b442..34b1da6 100644 --- a/map_machine/scheme.py +++ b/map_machine/scheme.py @@ -1,6 +1,4 @@ -""" -Map Machine drawing scheme. -""" +"""Map Machine drawing scheme.""" import logging import re from dataclasses import dataclass diff --git a/map_machine/slippy/server.py b/map_machine/slippy/server.py index 7cab8bb..6f245ce 100644 --- a/map_machine/slippy/server.py +++ b/map_machine/slippy/server.py @@ -1,6 +1,4 @@ -""" -Map Machine tile server for slippy maps. -""" +"""Map Machine tile server for slippy maps.""" import argparse import logging from http.server import HTTPServer, SimpleHTTPRequestHandler diff --git a/map_machine/text.py b/map_machine/text.py index 6d4b71c..d79534c 100644 --- a/map_machine/text.py +++ b/map_machine/text.py @@ -1,6 +1,4 @@ -""" -OSM address tag processing. -""" +"""OSM address tag processing.""" from dataclasses import dataclass from typing import Any, Optional diff --git a/map_machine/ui/cli.py b/map_machine/ui/cli.py index efb8319..f632473 100644 --- a/map_machine/ui/cli.py +++ b/map_machine/ui/cli.py @@ -1,6 +1,4 @@ -""" -Command-line user interface. -""" +"""Command-line user interface.""" import argparse from map_machine import __version__ diff --git a/map_machine/util.py b/map_machine/util.py index e92efd7..774747d 100644 --- a/map_machine/util.py +++ b/map_machine/util.py @@ -1,6 +1,4 @@ -""" -Utility file. -""" +"""Utility file.""" from dataclasses import dataclass from typing import Any diff --git a/map_machine/workspace.py b/map_machine/workspace.py index d76d337..d7bfa24 100644 --- a/map_machine/workspace.py +++ b/map_machine/workspace.py @@ -1,6 +1,4 @@ -""" -File and directory path in the project. -""" +"""File and directory path in the project.""" from pathlib import Path __author__ = "Sergey Vartanov"