107 lines
2.3 KiB
TOML
107 lines
2.3 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=61.0", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "errorfix-cli"
|
|
version = "0.1.0"
|
|
description = "A CLI tool that takes error output from compilers, linters, or build tools and generates actionable fix suggestions using a pattern-matching rule system"
|
|
readme = "README.md"
|
|
requires-python = ">=3.8"
|
|
license = {text = "MIT"}
|
|
authors = [
|
|
{name = "ErrorFix Contributors"}
|
|
]
|
|
keywords = ["cli", "error", "fix", "suggestions", "developer-tools", "pattern-matching"]
|
|
classifiers = [
|
|
"Development Status :: 3 - Alpha",
|
|
"Intended Audience :: Developers",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.8",
|
|
"Programming Language :: Python :: 3.9",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
]
|
|
dependencies = [
|
|
"click>=8.0",
|
|
"pyyaml>=6.0",
|
|
"regex>=2023.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=7.0",
|
|
"pytest-cov>=4.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
errorfix = "errorfix.cli:main"
|
|
|
|
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["."]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
python_files = ["test_*.py"]
|
|
python_classes = ["Test*"]
|
|
python_functions = ["test_*"]
|
|
addopts = "-v --tb=short"
|
|
|
|
[tool.ruff]
|
|
target-version = "py38"
|
|
line-length = 100
|
|
exclude = [
|
|
"cli-command-memory",
|
|
"doc2man",
|
|
"env_pro",
|
|
"git_commit_ai",
|
|
"gitignore-generator",
|
|
"gitpulse",
|
|
"man-card-project",
|
|
"man_card",
|
|
"local_code_assistant",
|
|
"codesnap",
|
|
"codexchange-cli",
|
|
"depnav",
|
|
"dotenv-types",
|
|
"local-ai-terminal-assistant",
|
|
"shell-speak-repo",
|
|
"shellhist",
|
|
"shellgen",
|
|
"type-from-json",
|
|
"ai-context-generator-cli",
|
|
"git-insights-cli",
|
|
"shell",
|
|
"knowledge_base",
|
|
"web",
|
|
"orchestrator",
|
|
"rules",
|
|
"mcp_servers",
|
|
"workspace",
|
|
"templates",
|
|
"MagicMock",
|
|
"data",
|
|
"dist",
|
|
"node_modules",
|
|
"venv",
|
|
".git",
|
|
".ruff_cache",
|
|
".mypy_cache",
|
|
".pytest_cache",
|
|
"*.egg-info",
|
|
"build",
|
|
"src",
|
|
"tests",
|
|
]
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F"]
|
|
ignore = [
|
|
"E501", # line too long
|
|
"F401", # unused imports
|
|
]
|