/
niceSOFT
/
python3-hatchling
Обзор
Документация
Войти
/
niceSOFT
/
python3-hatchling
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/hatch/env/collectors/default.py
13 строк
486 B
Dimitri Papadopoulos Orfanos
Upgrade Ruff to 0.13.2 (#1890)
28 сен 2025, 21:20
Не верифицирован
28 сен 2025, 21:20
aff6f39
Код
Авторство
О чём код?
from hatch.env.collectors.plugin.interface import EnvironmentCollectorInterface from hatch.env.internal import get_internal_env_config from hatch.env.utils import ensure_valid_environment class DefaultEnvironmentCollector(EnvironmentCollectorInterface): PLUGIN_NAME = "default" def get_initial_config(self): # noqa: PLR6301 default_config = {} ensure_valid_environment(default_config) return {"default": default_config, **get_internal_env_config()}