Format missed files with black

This commit is contained in:
Raffson 2024-10-12 17:50:54 +02:00
parent 5c56e7f64e
commit 6ae32b13b8
No known key found for this signature in database
GPG Key ID: B0402B2C9B764D99
5 changed files with 7 additions and 8 deletions

View File

@ -1,4 +1,5 @@
"""Generates landmaps from GIS shapefiles.""" """Generates landmaps from GIS shapefiles."""
import argparse import argparse
import logging import logging
import pickle import pickle

View File

@ -17,8 +17,7 @@ from game import VERSION
class ReportElement(ABC): class ReportElement(ABC):
@abstractmethod @abstractmethod
def __str__(self) -> str: def __str__(self) -> str: ...
...
class Heading(ReportElement): class Heading(ReportElement):
@ -75,8 +74,7 @@ ReportStream: TypeAlias = Iterator[ReportElement]
class LinterBase(ABC): class LinterBase(ABC):
def stream_reports(self) -> ReportStream: def stream_reports(self) -> ReportStream: ...
...
class UncheckedDataLinter(LinterBase): class UncheckedDataLinter(LinterBase):

View File

@ -20,6 +20,7 @@ beacons = {
} }
""" """
import argparse import argparse
import dataclasses import dataclasses
import gettext import gettext

View File

@ -1,4 +1,5 @@
"""Command-line utility for displaying human readable loadout configurations.""" """Command-line utility for displaying human readable loadout configurations."""
import argparse import argparse
import sys import sys
from collections.abc import Iterator from collections.abc import Iterator

View File

@ -26,12 +26,10 @@ def doctrine_from_name(name: str) -> Doctrine:
class Reducer(Generic[ReducerT], Iterator[ReducerT], ABC): class Reducer(Generic[ReducerT], Iterator[ReducerT], ABC):
@abstractmethod @abstractmethod
def accept(self) -> None: def accept(self) -> None: ...
...
@abstractmethod @abstractmethod
def reject(self) -> None: def reject(self) -> None: ...
...
class MultiPolyReducer(Reducer[MultiPolygon]): class MultiPolyReducer(Reducer[MultiPolygon]):