refactor: extract book.py and path.py from downloader monolith
Move Book dataclass + from_library_row() into dedicated book.py. Extract sanitize/resolve_path/needs_subdirectory into path.py. Hard-cut import migration across 7 source+test files. 79 new tests. Closes #26
This commit is contained in:
1 parent
323fbf76fd
commit
fb219be248
13 files changed
+1268
-309
No files matched your search
@@ -8,7 +8,7 @@ from pathlib import Path
|
||||
|
||||
import pytest
|
||||
|
||||
from librofm_downloader.downloader import Book
|
||||
from librofm_downloader.book import Book
|
||||
from librofm_downloader.orchestrator import OrchestratorResult, download_all_books
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user