mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-20 06:56:18 -05:00
Remove unused code found by vulture (#885)
Deletes functions, methods, classes, schema dataclasses, error classes, Events senders, and module-level constants that nothing references, including tests. Also drops the unused `doc_cleanup(test_directory)` and `_wait_for_sub_job_with_progress(collection_idx)` parameters, and the imports that only served removed code. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
a248104b2f
commit
22ada7eb57
34 changed files with 9 additions and 586 deletions
|
|
@ -230,4 +230,3 @@ MAP_REGIONS = [
|
|||
]
|
||||
|
||||
MAP_REGIONS_BY_NAME = {r['name']: r for r in MAP_REGIONS}
|
||||
MAP_REGIONS_BY_REGION = {r['region']: r for r in MAP_REGIONS}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ from typing import List, Dict
|
|||
|
||||
from sqlalchemy.orm import Session
|
||||
|
||||
from modules.map.catalog import MAP_REGIONS, MAP_REGIONS_BY_NAME, MAP_REGIONS_BY_REGION, MANIFEST_URL
|
||||
from modules.map.catalog import MAP_REGIONS, MAP_REGIONS_BY_NAME, MANIFEST_URL
|
||||
from wrolpi.common import get_media_directory, walk, logger, get_wrolpi_config, aiohttp_get, verify_gpg_signature
|
||||
from wrolpi.downloader import DownloadFrequency, Download, save_downloads_config, download_manager
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue