59 lines
1.4 KiB
TOML
59 lines
1.4 KiB
TOML
[project]
|
|
name = "git-diff-explainer-cli"
|
|
version = "0.1.0"
|
|
description = "A CLI tool that parses git diffs and provides intelligent, contextual explanations of code changes"
|
|
readme = "README.md"
|
|
requires-python = ">=3.10"
|
|
license = {text = "MIT"}
|
|
authors = [
|
|
{name = "Git Diff Explainer Contributors"}
|
|
]
|
|
keywords = ["git", "diff", "cli", "code-analysis", "static-analysis"]
|
|
classifiers = [
|
|
"Development Status :: 4 - Beta",
|
|
"Intended Audience :: Developers",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
"Environment :: Console",
|
|
"Topic :: Software Development :: Version Control :: Git"
|
|
]
|
|
dependencies = [
|
|
"click>=8.0",
|
|
"rich>=13.0",
|
|
"tree-sitter>=0.25",
|
|
"tree-sitter-languages>=1.10",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=7.0",
|
|
"pytest-cov>=4.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
gdiffer = "gdiffer.cli:main"
|
|
|
|
[build-system]
|
|
requires = ["setuptools>=61.0", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["src"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
python_files = ["test_*.py"]
|
|
python_functions = ["test_*"]
|
|
addopts = "-v --tb=short"
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py310"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "W", "C90", "I", "N", "UP"]
|
|
ignore = ["C901"]
|