Files
renamer/pyproject.toml
sHa 1d6eb9593e feat: Refactor formatting and extraction logic
- Added `langcodes` dependency for improved language handling.
- Replaced `ColorFormatter` with `TextFormatter` for consistent text styling across the application.
- Introduced `TrackFormatter` for better track information formatting.
- Updated `MediaFormatter` to utilize new formatting methods and improved data handling.
- Refactored `MediaExtractor` to enhance data extraction logic and improve readability.
- Removed deprecated `ColorFormatter` methods and replaced them with `TextFormatter` equivalents.
- Added new methods for extracting and formatting audio and subtitle tracks.
- Updated tests to reflect changes in the extraction logic and formatting.
2025-12-26 11:33:24 +00:00

28 lines
545 B
TOML

[project]
name = "renamer"
version = "0.1.1"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"mutagen>=1.47.0",
"textual>=6.11.0",
"python-magic>=0.4.27",
"pymediainfo>=6.0.0",
"pytest>=7.0.0",
"langcodes>=3.5.1",
]
[project.scripts]
renamer = "renamer.main:main"
[tool.uv]
package = true
[tool.pytest.ini_options]
addopts = "--strict-markers"
testpaths = ["renamer/test"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]