forked from CodeBoarding/CodeBoarding
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
167 lines (157 loc) · 4.36 KB
/
Copy pathpyproject.toml
File metadata and controls
167 lines (157 loc) · 4.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "codeboarding"
version = "0.12.2"
description = "Interactive Diagrams for Code"
readme = "PYPI.md"
license = "MIT"
requires-python = ">=3.12,<3.14"
authors = [
{name = "CodeBoarding Team"}
]
keywords = ["code-understanding", "code-visualization", "code-analysis", "diagrams", "documentation", "llm", "static-analysis", "mermaid", "onboarding"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Documentation",
"Topic :: Software Development :: Code Generators",
]
dependencies = [
"docker>=7.1",
"dotenv>=0.9",
"dulwich>=0.22",
"fastapi>=0.115",
"filelock>=3.12",
"gitpython>=3.1",
"google-api-core>=2.10",
"jsonpatch>=1.33",
"jsonschema>=4.25",
"langchain>=1.2",
"langchain-anthropic>=1.3",
"langchain-aws>=1.1",
"langchain-cerebras>=0.8",
"langchain-community>=0.4",
"langchain-google-genai>=3.1",
"langchain-ollama>=1.0",
"langchain-openai>=1.1",
"leidenalg>=0.10",
"markdown>=3.8",
"markdown-it-py>=3.0",
"markitdown>=0.1",
"networkx>=3.4",
"nodeenv>=1.10.0",
"pathspec>=0.12",
"posthog>=3.7",
"pydantic>=2.0",
"pyyaml>=6.0",
"regex>=2024.11",
"rich>=12.6",
"tree-sitter>=0.23",
"tree-sitter-c-sharp>=0.23",
"tree-sitter-go>=0.23",
"tree-sitter-java>=0.23",
"tree-sitter-javascript>=0.23",
"tree-sitter-php>=0.23",
"tree-sitter-python>=0.23",
"tree-sitter-rust>=0.23",
"tree-sitter-typescript>=0.23",
"trustcall>=0.0.39",
"uvicorn>=0.23",
]
[project.optional-dependencies]
dev = ["pytest>=8.3", "pytest-cov>=7.0", "black>=25.9", "mypy>=1.19", "pre-commit>=3.8"]
all = [
"codeboarding[dev]",
"pylint>=3.3",
"pyright>=1.1",
"pyinstaller>=6.13",
"memory-profiler>=0.61",
]
[tool.setuptools]
packages = [
"agents",
"agents.prompts",
"agents.tools",
"core",
"diagram_analysis",
"health",
"health.checks",
"monitoring",
"output_generators",
"repo_utils",
"static_analyzer",
"static_analyzer.engine",
"static_analyzer.engine.adapters",
"static_analyzer.lsp_client",
"caching",
"tool_registry",
"codeboarding_cli",
"codeboarding_cli.commands",
"codeboarding_workflows",
"codeboarding_workflows.sources",
"telemetry",
]
py-modules = [
"constants",
"utils",
"vscode_constants",
"logging_config",
"github_action",
"user_config",
"main",
"install",
]
include-package-data = true
[project.scripts]
codeboarding = "main:main"
codeboarding-setup = "install:main"
[project.urls]
Repository = "https://github.com/CodeBoarding/CodeBoarding"
Documentation = "https://github.com/CodeBoarding/CodeBoarding/blob/main/.codeboarding/overview.md"
[[tool.uv.index]]
name = "pypi"
default = true
url = "https://pypi.org/simple"
[tool.black]
line-length = 120
target-version = ["py312"]
[tool.mypy]
python_version = "3.12"
warn_return_any = false
warn_unused_configs = true
disallow_untyped_defs = false
check_untyped_defs = true
exclude = "(?x)(^repos/|^build/|^dist/|^temp/|^static_analyzer/servers/|^tests/integration/projects/)"
explicit_package_bases = true
disable_error_code = ["import-untyped", "no-any-return", "assignment"]
[tool.uv]
dev-dependencies = [
"black==25.9.0",
"pre-commit==3.8.0",
"mypy==1.19.0",
"pytest-cov==7.0.0",
"build>=1.4.0",
"twine>=6.2.0",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
norecursedirs = ["repos", "build", "dist", "temp", "node_modules"]
addopts = "--ignore=repos"
pythonpath = "."
markers = [
"integration: marks tests as integration tests (deselect with '-m \"not integration\"')",
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"health: marks tests as health check integration tests",
"python_lang: marks tests for Python language",
"java_lang: marks tests for Java language",
"go_lang: marks tests for Go language",
"typescript_lang: marks tests for TypeScript language",
"php_lang: marks tests for PHP language",
"javascript_lang: marks tests for JavaScript language",
"rust_lang: marks tests for Rust language",
"csharp_lang: marks tests for C# language",
]