diff --git a/resources/tools/arcgis_landmap_import.py b/resources/tools/arcgis_landmap_import.py index d4b20af4..5f963d34 100644 --- a/resources/tools/arcgis_landmap_import.py +++ b/resources/tools/arcgis_landmap_import.py @@ -1,4 +1,5 @@ """Generates landmaps from GIS shapefiles.""" + import argparse import logging import pickle diff --git a/resources/tools/datalint.py b/resources/tools/datalint.py index 46487d93..06146ff3 100644 --- a/resources/tools/datalint.py +++ b/resources/tools/datalint.py @@ -17,8 +17,7 @@ from game import VERSION class ReportElement(ABC): @abstractmethod - def __str__(self) -> str: - ... + def __str__(self) -> str: ... class Heading(ReportElement): @@ -75,8 +74,7 @@ ReportStream: TypeAlias = Iterator[ReportElement] class LinterBase(ABC): - def stream_reports(self) -> ReportStream: - ... + def stream_reports(self) -> ReportStream: ... class UncheckedDataLinter(LinterBase): diff --git a/resources/tools/import_beacons.py b/resources/tools/import_beacons.py index c6b4d6c9..bf47f141 100644 --- a/resources/tools/import_beacons.py +++ b/resources/tools/import_beacons.py @@ -20,6 +20,7 @@ beacons = { } """ + import argparse import dataclasses import gettext diff --git a/resources/tools/loadoutviewer.py b/resources/tools/loadoutviewer.py index ddd8ca41..e449ab2d 100644 --- a/resources/tools/loadoutviewer.py +++ b/resources/tools/loadoutviewer.py @@ -1,4 +1,5 @@ """Command-line utility for displaying human readable loadout configurations.""" + import argparse import sys from collections.abc import Iterator diff --git a/tests/flightplan/waypointsolvertestcasereducer.py b/tests/flightplan/waypointsolvertestcasereducer.py index 366ee86c..62515c30 100644 --- a/tests/flightplan/waypointsolvertestcasereducer.py +++ b/tests/flightplan/waypointsolvertestcasereducer.py @@ -26,12 +26,10 @@ def doctrine_from_name(name: str) -> Doctrine: class Reducer(Generic[ReducerT], Iterator[ReducerT], ABC): @abstractmethod - def accept(self) -> None: - ... + def accept(self) -> None: ... @abstractmethod - def reject(self) -> None: - ... + def reject(self) -> None: ... class MultiPolyReducer(Reducer[MultiPolygon]):