/
niceSOFT
/
python3-hatchling
Обзор
Документация
Войти
/
niceSOFT
/
python3-hatchling
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/hatch/plugin/manager.py
35 строк
887 B
Cary Hawkins
Add env lock command to generate PEP compliant lock files. (#2216)
23 апр 2026, 07:58
Не верифицирован
23 апр 2026, 07:58
89fb3cb
Код
Авторство
О чём код?
from hatchling.plugin.manager import PluginManager as _PluginManager class PluginManager(_PluginManager): def initialize(self): super().initialize() from hatch.plugin import specs self.manager.add_hookspecs(specs) def hatch_register_environment(self): from hatch.env.plugin import hooks self.manager.register(hooks) def hatch_register_environment_collector(self): from hatch.env.collectors.plugin import hooks self.manager.register(hooks) def hatch_register_publisher(self): from hatch.publish.plugin import hooks self.manager.register(hooks) def hatch_register_template(self): from hatch.template.plugin import hooks self.manager.register(hooks) def hatch_register_locker(self): from hatch.env.lockers import hooks self.manager.register(hooks)