Nissa Seru 0276aac8fb
Fix poe check on Windows (#5942)
`poe check` fails on main on Windows due to a combination line ending
mismatches, Unix-specific commands, and Windows-specific `asyncio`
behavior. This PR attempts to fix this (so that `poe check` on a
freshly-pulled `main` passes on Windows 11.)
2025-03-14 11:44:38 -07:00

39 lines
874 B
TOML

[build-system]
build-backend="hatchling.build"
requires =[ "hatchling" ]
[project]
classifiers=[
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
]
dependencies=[ "autogen-core", "autogen-ext" ]
description="Generates a JSON schema for component config"
license={ file="LICENSE-CODE" }
name="component-schema-gen"
readme="README.md"
requires-python=">=3.10"
version="0.1.0"
[project.scripts]
gen-component-schema="component_schema_gen.__main__:main"
[tool.ruff]
extend ="../../pyproject.toml"
include=[ "src/**" ]
[tool.ruff.lint]
ignore=[ "T201" ]
[tool.pyright]
extends="../../pyproject.toml"
include=[ "src" ]
[tool.poe]
include="../../shared_tasks.toml"
[tool.poe.tasks]
mypy="mypy --config-file $POE_ROOT/../../pyproject.toml src"
test="python -c \"import sys; sys.exit(0)\""