- Process nested subQuestions (previously silently dropped) - Sanitize phase names for summary filenames (path traversal) - Proper urllib.request import (was __import__ hack) - Add README, MIT LICENSE, pyproject (activates CI lint/test/security) - 19 tests: validation, slug, question tree, Ollama fetch (mocked), end-to-end main()
45 lines
1.1 KiB
TOML
45 lines
1.1 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=68"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "mastermind"
|
|
version = "1.0.0"
|
|
description = "AI-driven project planning: run a proposal through the IDIOT method with a local LLM (Ollama)"
|
|
readme = "README.md"
|
|
requires-python = ">=3.10"
|
|
license = { text = "MIT" }
|
|
authors = [{ name = "Jarian Cottingham" }]
|
|
keywords = ["ollama", "llm", "planning", "cli"]
|
|
classifiers = [
|
|
"Environment :: Console",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = ["pytest>=8.0", "ruff>=0.4"]
|
|
|
|
[project.scripts]
|
|
mastermind = "mastermind_cli:main"
|
|
|
|
[tool.setuptools]
|
|
package-dir = { "" = "scripts" }
|
|
py-modules = ["mastermind_cli"]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py310"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "W", "I"]
|
|
|
|
[tool.ruff.lint.isort]
|
|
known-first-party = ["mastermind_cli"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|