From c4e289acfe4fa3e35a934492e2a082e60564b01b Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Wed, 4 Feb 2026 16:49:35 +0000 Subject: [PATCH] Initial upload: Local Commit Message Generator v0.1.0 --- .../pyproject.toml | 58 +++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 app/local_commit_message_generator/pyproject.toml diff --git a/app/local_commit_message_generator/pyproject.toml b/app/local_commit_message_generator/pyproject.toml new file mode 100644 index 0000000..f3d6a83 --- /dev/null +++ b/app/local_commit_message_generator/pyproject.toml @@ -0,0 +1,58 @@ +[build-system] +requires = ["setuptools>=61.0", "wheel"] +build-backend = "setuptools.build_meta" + +[project] +name = "local-commit-message-generator" +version = "0.1.0" +description = "A CLI tool that generates conventional commit messages by analyzing staged git changes" +readme = "README.md" +requires-python = ">=3.8" +license = {text = "MIT"} +authors = [ + {name = "Local Commit Generator Contributors"} +] +keywords = ["git", "commit", "cli", "conventional-commits"] +classifiers = [ + "Development Status :: 4 - Beta", + "Intended Audience :: Developers", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", + "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", + "gitpython>=3.1", + "tomlkit>=0.11", +] + +[project.optional-dependencies] +dev = [ + "pytest>=7.0", + "pytest-cov>=4.0", +] + +[project.scripts] +commit-gen = "src.cli:main" + +[tool.setuptools.packages.find] +where = ["."] + +[tool.pytest.ini_options] +testpaths = ["tests"] +python_files = ["test_*.py"] +python_functions = ["test_*"] +addopts = "-v --cov=src --cov-report=term-missing" + +[tool.ruff] +line-length = 100 +target-version = "py38" + +[tool.ruff.lint] +select = ["E", "F", "W", "I"] +ignore = []