Skip to content

Commit

Permalink
Merge pull request #2102 from HullSeals/enhancement/2051/remainders
Browse files Browse the repository at this point in the history
[2051] First Pass Remaining Files
  • Loading branch information
C1701D authored Dec 1, 2023
2 parents 386b0f6 + f30fb56 commit 14319d0
Show file tree
Hide file tree
Showing 13 changed files with 275 additions and 268 deletions.
9 changes: 4 additions & 5 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import shutil
import sys
import pathlib
from typing import List, Tuple
from string import Template
from os.path import join, isdir
import py2exe
Expand Down Expand Up @@ -57,8 +56,8 @@ def system_check(dist_dir: str) -> str:


def generate_data_files(
app_name: str, gitversion_file: str, plugins: List[str]
) -> List[Tuple[str, List[str]]]:
app_name: str, gitversion_file: str, plugins: list[str]
) -> list[tuple[str, list[str]]]:
"""Create the required datafiles to build."""
l10n_dir = "L10n"
fdevids_dir = "FDevIDs"
Expand Down Expand Up @@ -106,7 +105,7 @@ def build() -> None:
gitversion_filename: str = system_check(dist_dir)

# Constants
plugins: List[str] = [
plugins: list[str] = [
"plugins/coriolis.py",
"plugins/eddn.py",
"plugins/edsm.py",
Expand Down Expand Up @@ -141,7 +140,7 @@ def build() -> None:
}

# Function to generate DATA_FILES list
data_files: List[Tuple[str, List[str]]] = generate_data_files(
data_files: list[tuple[str, list[str]]] = generate_data_files(
appname, gitversion_filename, plugins
)

Expand Down
Loading

0 comments on commit 14319d0

Please sign in to comment.