/
niceSOFT
/
python3-hatchling
Обзор
Документация
Войти
/
niceSOFT
/
python3-hatchling
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
backend/src/hatchling/builders/plugin/hooks.py
18 строк
617 B
Dimitri Papadopoulos Orfanos
Assorted MyPy improvments (#1663)
17 авг 2024, 17:59
Не верифицирован
17 авг 2024, 17:59
551c26e
Код
Авторство
О чём код?
from __future__ import annotations import typing from hatchling.builders.app import AppBuilder from hatchling.builders.binary import BinaryBuilder from hatchling.builders.custom import CustomBuilder from hatchling.builders.sdist import SdistBuilder from hatchling.builders.wheel import WheelBuilder from hatchling.plugin import hookimpl if typing.TYPE_CHECKING: from hatchling.builders.plugin.interface import BuilderInterface @hookimpl def hatch_register_builder() -> list[type[BuilderInterface]]: return [AppBuilder, BinaryBuilder, CustomBuilder, SdistBuilder, WheelBuilder] # type: ignore[list-item]