mirror of
https://github.com/aclist/dztui.git
synced 2026-11-12 04:50:37 +01:00
chore: clear typehinting errors
This commit is contained in:
1 parent
3e7b49203a
commit
f7d95d5407
11 files changed
+99
-61
No files matched your search
@@ -1,6 +1,6 @@
|
||||
import pytest
|
||||
|
||||
from typing import TYPE_CHECKING
|
||||
from typing import Any, TYPE_CHECKING
|
||||
|
||||
from dzgui.api import probe
|
||||
from dzgui.config.query import get_config
|
||||
@@ -13,7 +13,7 @@ pytestmark = pytest.mark.webtest
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def config() -> dict[str, "Path"]:
|
||||
def config() -> Any:
|
||||
paths = get_xdg_paths()
|
||||
xdg = parse_filepaths(paths)
|
||||
return get_config(xdg.config)
|
||||
@@ -23,6 +23,6 @@ def test_ipdb() -> None:
|
||||
assert probe.test_ipdb()
|
||||
|
||||
|
||||
def test_steam(config: dict[str, "Path"]) -> None:
|
||||
def test_steam(config: Any) -> None:
|
||||
key = config["steam_api"]
|
||||
assert probe.test_steam_api(key)
|
||||
Reference in new issue
Block a user