mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Reformat code with upgraded version of black (#3446)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user