mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Format missed files with black
This commit is contained in:
parent
5c56e7f64e
commit
6ae32b13b8
@ -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
|
||||||
|
|||||||
@ -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):
|
||||||
|
|||||||
@ -20,6 +20,7 @@ beacons = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import dataclasses
|
import dataclasses
|
||||||
import gettext
|
import gettext
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
@ -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]):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user