refactor(registry): ♻️ Improve registry URL parsing/validation for new formats and robustness

Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
autocommit 2026-06-10 04:05:16 -07:00
parent c434bcd4f8
commit fd098d1d3c

View file

@ -9,10 +9,10 @@ class RegistryConfig:
@staticmethod
def get_default_registry() -> str:
"""Get default PyPI registry URL (dev: pypi.black.local)."""
"""Get default PyPI registry URL (dev: pypi.black.lan)."""
return os.getenv(
"LOCAL_PUBLISH_PYPI_REGISTRY",
"http://pypi.black.local:8080",
"http://pypi.black.lan:8080",
)
@staticmethod