From 1f25dff0c98be4da9ab9da0c7c4d2c3c38a839da Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Wed, 4 Feb 2026 17:54:24 +0000 Subject: [PATCH] Initial upload with CI/CD workflow --- app/pyproject.toml | 49 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 app/pyproject.toml diff --git a/app/pyproject.toml b/app/pyproject.toml new file mode 100644 index 0000000..32b1d3a --- /dev/null +++ b/app/pyproject.toml @@ -0,0 +1,49 @@ +[build-system] +requires = ["setuptools>=61.0", "wheel"] +build-backend = "setuptools.build_meta" + +[project] +name = "git-commit-message-generator" +version = "1.0.0" +description = "A CLI tool that generates git commit messages using local LLMs" +readme = "README.md" +requires-python = ">=3.9" +license = {text = "MIT"} +classifiers = [ + "Development Status :: 4 - Beta", + "Environment :: Console", + "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.1.0", + "ollama>=0.1.0", + "gitpython>=3.1.0", + "rich>=13.0.0", + "pyyaml>=6.0", +] + +[project.optional-dependencies] +dev = [ + "pytest>=7.0.0", + "pytest-cov>=4.0.0", + "pytest-mock>=3.10.0", +] + +[project.scripts] +git-commit-gen = "git_commit_generator.cli:main" + +[tool.pytest.ini_options] +testpaths = ["tests"] +python_files = ["test_*.py"] +python_functions = ["test_*"] +addopts = "-v --cov=src --cov-report=term-missing" + +[tool.coverage.run] +source = ["src/git_commit_generator"] +omit = ["tests/*"]