Format with updated black

This commit is contained in:
Raffson
2024-10-12 17:20:44 +02:00
parent 11a9d67b91
commit 5fdf38c663
58 changed files with 164 additions and 187 deletions

View File

@@ -1,4 +1,5 @@
"""Application-wide dialog management."""
from typing import Optional
from game.ato.flight import Flight

View File

@@ -1,4 +1,5 @@
"""Qt data models for game objects."""
from __future__ import annotations
import datetime

View File

@@ -1,4 +1,5 @@
"""Spin box for selecting the number of aircraft in a flight."""
from PySide6.QtWidgets import QSpinBox

View File

@@ -1,4 +1,5 @@
"""A layout containing a widget with an associated label."""
from typing import Optional
from PySide6.QtCore import Qt

View File

@@ -1,4 +1,5 @@
"""Widgets for displaying air tasking orders."""
import logging
from copy import deepcopy
from typing import Optional

View File

@@ -1,4 +1,5 @@
"""Widgets for displaying client slots."""
from PySide6.QtWidgets import QLabel
from qt_ui.models import AtoModel

View File

@@ -1,4 +1,5 @@
"""Combo box for selecting aircraft types."""
from PySide6.QtWidgets import QComboBox
from game.dcs.aircrafttype import AircraftType

View File

@@ -1,4 +1,5 @@
"""Combo box for selecting a departure airfield."""
from typing import Iterable, Optional
from PySide6.QtWidgets import QComboBox

View File

@@ -1,4 +1,5 @@
"""Dialog window for editing flights."""
from PySide6.QtWidgets import (
QDialog,
QVBoxLayout,

View File

@@ -1,4 +1,5 @@
"""Dialogs for creating and editing ATO packages."""
import logging
from typing import Optional

View File

@@ -1,4 +1,5 @@
"""Combo box for selecting squadrons."""
from typing import Optional
from PySide6.QtWidgets import QComboBox

View File

@@ -1,2 +1 @@
class MissingPropertyDataError(RuntimeError):
...
class MissingPropertyDataError(RuntimeError): ...