From f9cacd1b76a3ba8ceb9492c8d28e9343f93de353 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Thu, 5 Feb 2026 07:26:55 +0000 Subject: [PATCH] fix: resolve CI lint and type errors --- setup.cfg | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 setup.cfg diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..865cbdb --- /dev/null +++ b/setup.cfg @@ -0,0 +1,47 @@ +[metadata] +name = local-ai-commit-reviewer +version = 0.1.0 +author = Local AI Commit Reviewer Contributors +description = A CLI tool that reviews Git commits locally using lightweight LLMs +long_description = file: README.md +long_description_content_type = text/markdown +url = https://github.com/yourusername/local-ai-commit-reviewer +license = MIT +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 +keywords = git, cli, llm, code-review, ollama + +[options] +python_requires = >=3.10 +install_requires = + click>=8.1.7 + gitpython>=3.1.43 + ollama>=0.3.3 + rich>=13.7.1 + pydantic>=2.6.1 + pyyaml>=6.0.1 + +[options.extras_require] +dev = + pytest>=7.4.0 + pytest-cov>=4.1.0 + pytest-mock>=3.12.0 + black>=23.0.0 + ruff>=0.1.0 + mypy>=1.7.0 + +[options.entry_points] +console_scripts = + aicr = src.cli:main + +[tool:pytest] +testpaths = tests +python_files = test_*.py +python_functions = test_* +addopts = -v --tb=short