[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.black] line-length = 100 target-version = ['py39'] include = '\.pyi?$' [tool.ruff] line-length = 100 target-version = "py39" select = ["E", "F", "W", "I", "B", "C4", "UP", "ARG", "SIM"] ignore = ["E501", "B008", "C901"]