summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorWarry <FunWarry@users.noreply.github.com>2025-12-29 20:54:26 +0100
committerWarry <FunWarry@users.noreply.github.com>2025-12-29 20:54:26 +0100
commit7b60f92a48b4ff54604e8179503488800866ca6f (patch)
treeb9d66f238777f4308ca29332c3675d9311c961d6 /tox.ini
parentf413240b51f574c01144e6ae672b24c412a949e1 (diff)
downloadtidal-dl-ng-7b60f92a48b4ff54604e8179503488800866ca6f.tar.gz
feat: Refactor playlist management, error handling, and testing infrastructure
- Improved playlist item handling with pagination, error logging, and dedicated request hooks. - Consolidated reusable helpers for track ID normalization, playlist validation, and removal logic. - Enhanced error handling by introducing `PlaylistNotFound` and `UserNotAuthenticated` exceptions. - Refined Pytest `qapp` fixture for headless CI compatibility and session-scoped reuse. - Replaced redundant fixtures in multiple test files for consistency. - Improved playlist management GUI with detailed debug logging for notifications and operations. - Added `deptry` configuration to handle transitive dependencies and ignored exclusions. - Updated Pytest and Tox configurations for consistent environment setup during CI/CD runs.
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini3
1 files changed, 3 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index e156596..e0e3939 100644
--- a/tox.ini
+++ b/tox.ini
@@ -10,6 +10,9 @@ python =
[testenv]
passenv = PYTHON_VERSION
allowlist_externals = poetry, pytest
+setenv =
+ QT_QPA_PLATFORM=offscreen
+ XDG_RUNTIME_DIR={toxinidir}/.xdg
commands =
poetry install -v --no-interaction --all-extras --with dev,docs
pytest --doctest-modules tests --cov --cov-config=pyproject.toml --cov-report=xml