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."""
|
||||
|
||||
import argparse
|
||||
import logging
|
||||
import pickle
|
||||
|
||||
@ -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):
|
||||
|
||||
@ -20,6 +20,7 @@ beacons = {
|
||||
}
|
||||
|
||||
"""
|
||||
|
||||
import argparse
|
||||
import dataclasses
|
||||
import gettext
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
"""Command-line utility for displaying human readable loadout configurations."""
|
||||
|
||||
import argparse
|
||||
import sys
|
||||
from collections.abc import Iterator
|
||||
|
||||
@ -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]):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user