-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
111 lines (100 loc) · 2.63 KB
/
Copy pathpyproject.toml
File metadata and controls
111 lines (100 loc) · 2.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "ai-idea-cli"
version = "0.3.0"
description = "AI-powered project scaffolding CLI with demo mode for immediate usage"
readme = "README.md"
requires-python = ">=3.12"
license = "MIT"
authors = [
{name = "idea-cli", email = "noreply@idea-cli.com"}
]
keywords = ["ai", "scaffolding", "cli", "project-generator", "sdlc"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Code Generators",
"Topic :: Software Development :: Libraries :: Application Frameworks"
]
dependencies = [
"typer[all]>=0.12.0",
"rich>=13.0.0",
"pydantic>=2.0.0",
"jsonschema>=4.0.0",
"python-dotenv>=1.0.0",
"httpx>=0.27.0",
"copier>=9.0.0"
]
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-cov>=5.0.0",
"black>=24.0.0",
"ruff>=0.4.0",
"mypy>=1.10.0",
"pre-commit>=3.7.0",
]
llm = [
"anthropic>=0.34.0",
"openai>=1.0.0"
]
[project.scripts]
idea = "idea.cli:main"
[project.urls]
Homepage = "https://github.com/oxygen-fragment/ai-idea-cli"
Repository = "https://github.com/oxygen-fragment/ai-idea-cli"
Documentation = "https://github.com/oxygen-fragment/ai-idea-cli/blob/main/README.md"
"Bug Tracker" = "https://github.com/oxygen-fragment/ai-idea-cli/issues"
[tool.setuptools.packages.find]
where = ["."]
include = ["idea*"]
[tool.setuptools.package-data]
idea = [
"py.typed",
]
"*" = [
"*.json",
"*.yaml",
"*.yml",
"*.jinja",
"*.md"
]
[tool.black]
line-length = 88
target-version = ['py312']
[tool.ruff]
target-version = "py312"
line-length = 88
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
]
ignore = [
"B008", # typer.Option function calls in defaults are standard practice
"E501", # Line too long - some cases unavoidable with typer decorators
"UP007", # Use `X | Y` for type annotations - typer doesn't support this yet
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
[tool.mypy]
python_version = "3.12"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
strict = true
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "--cov=idea --cov-report=term-missing --cov-report=html --cov-fail-under=80"