mirror of
https://github.com/enzet/map-machine.git
synced 2025-06-04 20:01:53 +02:00
Refactor type annotaions; get rid of minidom.
This commit is contained in:
parent
81502e542e
commit
cdeffc8758
22 changed files with 401 additions and 353 deletions
|
@ -14,7 +14,7 @@ BOXES: str = " ▏▎▍▌▋▊▉"
|
|||
BOXES_LENGTH: int = len(BOXES)
|
||||
|
||||
|
||||
def parse_options(args) -> argparse.Namespace:
|
||||
def parse_options(args: argparse.Namespace) -> argparse.Namespace:
|
||||
"""Parse Röntgen command-line options."""
|
||||
parser: argparse.ArgumentParser = argparse.ArgumentParser(
|
||||
description="Röntgen. OpenStreetMap renderer with custom icon set"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue