From 5918fbb24f2337c262aff1fe5d740e32b0f6c001 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Mon, 2 Feb 2026 13:56:14 +0000 Subject: [PATCH] Initial upload: project configuration, README and LICENSE --- pyproject.toml | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..9d03011 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,58 @@ +[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 = []