style: Apply formatter fixes to documentation
This commit is contained in:
@@ -208,17 +208,19 @@ Enhance the anime addition workflow to automatically persist anime to the databa
|
||||
### Implementation Summary (Completed)
|
||||
|
||||
**Files Created/Modified:**
|
||||
- `src/server/utils/filesystem.py` - New file with `sanitize_folder_name()`, `is_safe_path()`, `create_safe_folder()`
|
||||
- `src/core/entities/series.py` - Added `sanitized_folder` property
|
||||
- `src/core/entities/SerieList.py` - Updated `add()` to use sanitized folder names
|
||||
- `src/core/SerieScanner.py` - Added `scan_single_series()` method
|
||||
- `src/server/api/anime.py` - Enhanced `add_series` endpoint with full flow
|
||||
|
||||
- `src/server/utils/filesystem.py` - New file with `sanitize_folder_name()`, `is_safe_path()`, `create_safe_folder()`
|
||||
- `src/core/entities/series.py` - Added `sanitized_folder` property
|
||||
- `src/core/entities/SerieList.py` - Updated `add()` to use sanitized folder names
|
||||
- `src/core/SerieScanner.py` - Added `scan_single_series()` method
|
||||
- `src/server/api/anime.py` - Enhanced `add_series` endpoint with full flow
|
||||
|
||||
**Tests Added:**
|
||||
- `tests/unit/test_filesystem_utils.py` - 43 tests for filesystem utilities
|
||||
- `tests/unit/test_serie_class.py` - 6 tests for `sanitized_folder` property
|
||||
- `tests/unit/test_serie_scanner.py` - 9 tests for `scan_single_series()`
|
||||
- `tests/api/test_anime_endpoints.py` - 6 integration tests for enhanced add flow
|
||||
|
||||
- `tests/unit/test_filesystem_utils.py` - 43 tests for filesystem utilities
|
||||
- `tests/unit/test_serie_class.py` - 6 tests for `sanitized_folder` property
|
||||
- `tests/unit/test_serie_scanner.py` - 9 tests for `scan_single_series()`
|
||||
- `tests/api/test_anime_endpoints.py` - 6 integration tests for enhanced add flow
|
||||
|
||||
**All 97 related tests passing. No regressions in existing 848 unit tests and 60 API tests.**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user