diff options
| author | Robert Honz <exislow+github@gmail.com> | 2025-08-13 08:17:11 +0200 |
|---|---|---|
| committer | Robert Honz <exislow+github@gmail.com> | 2025-08-13 08:17:11 +0200 |
| commit | 8dd75897e3c138826893cb99822dbeebc8efc54c (patch) | |
| tree | d72769d332592460899441abd32c8644894d657c /.github | |
| parent | 0d8bc88f96e4e60b258f3b88b19f9114c2ef99c6 (diff) | |
| download | tidal-dl-ng-8dd75897e3c138826893cb99822dbeebc8efc54c.tar.gz | |
refactor(constants): streamline enums and enhance type annotations
This commit refactors the codebase to improve readability and maintainability by updating enums and type annotations:
- โจ **Replaced `StrEnum` attributes**: Removed explicit type declarations for enum values to simplify the code.
- ๐ ๏ธ **Introduced `AudioExtensionsValid` enum**: Added a new enum for valid audio file extensions.
- ๐ **Enhanced type annotations**: Updated `FAVORITES` dictionary to include specific type hints for clarity.
- ๐งน **Updated references**: Replaced outdated `AudioExtensions` usage with the new `AudioExtensionsValid`.
These changes improve code clarity, enforce stricter typing, and enhance extensibility.
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions
