76 lines
1.9 KiB
TOML
76 lines
1.9 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=61.0", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "codebase-knowledge-graph-cli"
|
|
version = "0.1.0"
|
|
description = "A CLI tool that analyzes codebases and generates interactive knowledge graphs showing code relationships, dependencies, and architecture"
|
|
readme = "README.md"
|
|
requires-python = ">=3.9"
|
|
license = {text = "MIT"}
|
|
authors = [
|
|
{name = "Codebase Knowledge Graph Contributors"}
|
|
]
|
|
keywords = ["code-analysis", "knowledge-graph", "cli", "dependency-analysis", "visualization"]
|
|
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",
|
|
]
|
|
|
|
dependencies = [
|
|
"tree-sitter>=0.23.1",
|
|
"tree-sitter-languages>=1.10.0",
|
|
"networkx>=3.3",
|
|
"graphviz>=0.20.3",
|
|
"click>=8.1.7",
|
|
"rich>=13.7.1",
|
|
"pyyaml>=6.0.1",
|
|
"tqdm>=4.66.1",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=7.4.0",
|
|
"pytest-cov>=4.1.0",
|
|
"mypy>=1.7.0",
|
|
"flake8>=6.1.0",
|
|
"black>=23.11.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
codegraph = "src.cli.main:main"
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["src"]
|
|
include = ["src.*"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
python_files = ["test_*.py"]
|
|
python_functions = ["test_*"]
|
|
addopts = "-v --tb=short"
|
|
|
|
[tool.mypy]
|
|
python_version = "3.9"
|
|
warn_return_any = true
|
|
warn_unused_configs = true
|
|
ignore_missing_imports = true
|
|
exclude = "src/confgen"
|
|
|
|
[tool.black]
|
|
line-length = 100
|
|
target-version = ["py39", "py310", "py311", "py312"]
|
|
include = "\\.pyi?$"
|
|
|
|
[tool.flake8]
|
|
max-line-length = 100
|
|
exclude = [".git", "__pycache__", "build", "dist", "*.egg-info"]
|
|
per-file-ignores = ["__init__.py: F401"]
|