[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" authors = [ {name = "CodeSnap Contributors"} ] keywords = ["cli", "code-analysis", "summarization", "codebase"] classifiers = [ "Development Status :: 4 - Beta", "Environment :: Console", "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", "toml>=0.10.2", ] [project.optional-dependencies] dev = [ "pytest>=7.4.0", "pytest-cov>=4.1.0", "black>=23.0.0", "ruff>=0.1.0", ] [project.scripts] codesnap = "codesnap.__main__:main" [tool.setuptools.packages.find] where = ["src"] [tool.pytest.ini_options] testpaths = ["tests"] python_files = ["test_*.py"] python_classes = ["Test*"] python_functions = ["test_*"] addopts = "-v --tb=short" [tool.coverage.run] source = ["src"] omit = ["tests/*"] [tool.black] line-length = 100 target-version = ["py310"] [tool.ruff] line-length = 100 target-version = "py310" [tool.ruff.lint] select = ["E", "F", "W", "I", "B", "C4", "UP"] ignore = ["E501"]