Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2051] First Pass Remaining Files #2102

Merged
merged 3 commits into from
Dec 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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