llmcodegen/pyproject.toml

49 lines
1.2 KiB
TOML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "llm-codegen"
version = "0.1.0"
description = "基于大语言模型的自动化代码生成工具根据README.md描述自动生成完整的Python包代码具备代码检查、测试和自动修复能力。"
authors = [
{name = "Your Name", email = "your.email@example.com"}
]
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.9"
dependencies = [
"typer>=0.9.0",
"rich>=13.0.0",
"loguru>=0.7.0",
"openai>=1.0.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"pylint>=3.0.0",
"mypy>=1.0.0",
"black>=23.0.0",
"pre-commit>=3.0.0",
]
[project.urls]
Homepage = "https://github.com/yourusername/llm-codegen"
[project.scripts]
llm-codegen = "llm_codegen.cli:app"
[tool.llm-codegen]
check_tools = ["pytest", "pylint", "mypy", "black"]
max_retries = 3
dangerous_commands = ["rm", "sudo", "chmod", "dd"]
[tool.black]
line-length = 88
target-version = ['py39']
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "--cov=src/llm_codegen --cov-report=term-missing"