Files
git-commit-ai/pyproject.toml
7000pctAUTO 8a0ecb5fca
Some checks failed
CI / test (push) Failing after 4m52s
CI / build (push) Has been skipped
CI / lint (push) Successful in 9m26s
fix: resolve CI build failures
- Fix ruff configuration in pyproject.toml (moved settings to correct sections)
- Use python -m ruff for lint check to resolve PATH issues
- Added proper pip upgrade before installing dependencies
2026-01-31 04:20:15 +00:00

72 lines
1.8 KiB
TOML

[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "git-commit-ai"
version = "0.1.0"
description = "A privacy-first CLI tool that generates intelligent Git commit message suggestions using local LLM (Ollama)"
readme = "README.md"
requires-python = ">=3.9"
license = {text = "MIT"}
authors = [
{name = "Git Commit AI Contributors"}
]
keywords = ["git", "commit", "ai", "ollama", "cli", "conventional-commits"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"click>=8.0",
"ollama>=0.1",
"gitpython>=3.1",
"pyyaml>=6.0",
"requests>=2.31",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"pytest-cov>=4.0",
"black>=23.0",
"ruff>=0.1.0",
]
[project.scripts]
git-commit-ai = "git_commit_ai.cli.cli:main"
[tool.setuptools.packages.find]
where = ["."]
include = ["git_commit_ai*"]
[tool.pytest.ini_options]
testpaths = ["git_commit_ai/tests"]
python_files = ["test_*.py"]
python_functions = ["test_*"]
addopts = "-v --tb=short"
[tool.coverage.run]
source = ["git_commit_ai"]
omit = ["git_commit_ai/tests/*"]
[tool.coverage.report]
exclude_lines = ["pragma: no cover", "def __repr__", "raise AssertionError", "raise NotImplementedError"]
[tool.ruff]
line-length = 100
target-version = "py39"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "B", "C4", "UP", "ARG", "SIM"]
ignore = ["E501", "B008", "C901"]
[tool.ruff.lint.per-file-ignores]
"git_commit_ai/tests/*" = ["ARG", "S"]