diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..25c0e76 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,55 @@ +[tool.poetry] +name = "codechunk-cli" +version = "0.1.0" +description = "A CLI tool that analyzes codebases and generates optimized context bundles for local LLMs" +authors = ["CodeChunk Contributors"] +license = "MIT" +readme = "README.md" +homepage = "https://github.com/codechunk/cli" +repository = "https://github.com/codechunk/cli" +classifiers = [ + "Development Status :: 4 - Beta", + "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", +] +packages = [{include = "codechunk"}] + +[tool.poetry.dependencies] +python = "^3.9" +click = "^8.1.0" +rich = "^13.0.0" +pyyaml = "^6.0" +tqdm = "^4.65.0" + +[tool.poetry.group.dev.dependencies] +pytest = "^7.4.0" +pytest-cov = "^4.1.0" +ruff = "^0.1.0" +mypy = "^1.5.0" + +[build-system] +requires = ["poetry-core"] +build-backend = "poetry.core.masonry.api" + +[tool.pytest.ini_options] +testpaths = ["tests"] +python_files = ["test_*.py"] +python_functions = ["test_*"] +addopts = "-v --tb=short" + +[tool.ruff] +target-version = "py39" +line-length = 100 +select = ["E", "F", "W", "C90", "I", "N", "UP", "B", "C4"] +ignore = ["E501", "B008"] + +[tool.mypy] +python_version = "3.9" +warn_return_any = true +warn_unused_configs = true +ignore_missing_imports = true