Files
Warry 7b60f92a48 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.
2025-12-29 20:54:26 +01:00

19 lines
414 B
INI

[tox]
skipsdist = true
envlist = py312,py313
[gh-actions]
python =
3.12: py312
3.13: py313
[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