refactor: drop dead scraper import fallbacks

This commit is contained in:
Abdessamad Derraz committed 2026-11-17 07:23:39 +01:00
1 parent 3e732fd57e
commit 34eee3f087
27 files changed
+233 -424

No files matched your search

+2 -6
View File
@@ -15,12 +15,8 @@ import re
from collections.abc import Callable, Iterable
from dataclasses import dataclass, field
try:
from .base_scraper import fetch_bytes, github_headers
from .configgen_launchers import LauncherShapeError
except ImportError:
from base_scraper import fetch_bytes, github_headers
from configgen_launchers import LauncherShapeError
from .base_scraper import fetch_bytes, github_headers
from .configgen_launchers import LauncherShapeError
NAME = r"[A-Za-z_][A-Za-z0-9_]*"
# A single-quoted "$" is literal: it is carried as this mark through expansion.