From e6718694931b6ab661a396c59559f98d5578da6e Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Fri, 30 Jan 2026 22:12:48 +0000 Subject: [PATCH] Initial upload with CI/CD workflow --- pyproject.toml | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..fcbcca6 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,55 @@ +[build-system] +requires = ["setuptools>=61.0", "wheel"] +build-backend = "setuptools.build_meta" + +[project] +name = "codesnap" +version = "0.1.0" +description = "A CLI tool that analyzes codebases and generates concise, human-readable summaries" +readme = "README.md" +license = {text = "MIT"} +requires-python = ">=3.10" +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", +] +dependencies = [ + "click>=8.1.7", + "networkx>=3.2.1", + "tree-sitter>=0.23.1", + "tree-sitter-languages>=1.10.2", + "python-json-logger>=2.0.7", + "pyyaml>=6.0", +] + +[project.optional-dependencies] +dev = [ + "pytest>=7.4.0", + "pytest-cov>=4.1.0", + "pytest-mock>=3.12.0", +] + +[project.scripts] +codesnap = "codesnap.cli:main" + +[tool.setuptools.packages.find] +where = ["."] +include = ["codesnap.*"] + +[tool.pytest.ini_options] +testpaths = ["tests"] +python_files = ["test_*.py"] +python_functions = ["test_*"] + +[tool.ruff] +line-length = 100 +target-version = "py310" + +[tool.ruff.lint] +select = ["E", "F", "I", "W"] +ignore = []