Compare commits

...
Author SHA1 Message Date
aclist db2ddca9a5 Merge pull request #549 from aclist/chore/import-untyped
Mirror to Codeberg / mirror-to-codeberg (push) Waiting to run
chore: clear typehinting errors
2026-11-22 14:00:05 +09:00
aclist 5c81f228b0 chore: clear typehinting errors 2026-11-22 13:59:22 +09:00
aclist 48d58ba5c9 Merge pull request #548 from aclist/feat/debug-filepicker-2
feat: export debug log to a named file
2026-11-22 13:53:31 +09:00
3 changed files with 6 additions and 4 deletions

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@ import binascii
import ctypes
import logging
import shutil
import vdf # type: ignore
import vdf # type: ignore[import-untyped]
from dataclasses import dataclass
from importlib import resources
+1 -1
View File
@@ -4,7 +4,7 @@ import psutil
import re
import requests
import subprocess
import vdf # type: ignore
import vdf # type: ignore[import-untyped]
from pathlib import Path
from requests.exceptions import HTTPError
+4 -2
View File
@@ -1,5 +1,5 @@
import pytest
import vdf
import vdf # type: ignore[import-untyped]
from pathlib import Path
@@ -7,11 +7,13 @@ from dzgui.api.mods import get_local_mod_ids
from dzgui.util.dirs import make_parents
from tests.fixtures import fixture_path
@pytest.fixture
def libraryfolders() -> Path:
return fixture_path("api/steamapps/libraryfolders.vdf")
def test_missing_mod_dir(tmp_path, libraryfolders: Path) -> None:
def test_missing_mod_dir(tmp_path: Path, libraryfolders: Path) -> None:
"""
Updates fixture file key with tmp path value serializes to file,
then tests for missing mod directory returning an empty list