-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
64 lines (57 loc) · 1.42 KB
/
Copy pathpyproject.toml
File metadata and controls
64 lines (57 loc) · 1.42 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
[project]
name = "notsudo"
version = "0.1.0"
description = "Agentic security tool"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"structlog>=24.1.0",
"alembic>=1.13.0",
"asyncpg>=0.29.0",
"pydantic>=2.7.0",
"httpx>=0.27.0",
"sentence-transformers>=2.7.0",
"tree-sitter>=0.22.0",
"tree-sitter-javascript>=0.21.0",
"tree-sitter-typescript>=0.21.0",
"typer>=0.12.0",
"mcp>=1.1.0",
"langgraph>=0.0.30",
"langchain-core>=0.1.30",
"langchain-openai>=0.1.0",
"fastapi>=0.111.0",
"uvicorn[standard]>=0.29.0",
"aiofiles>=23.2.0",
"python-dotenv>=1.0.0",
"itsdangerous>=2.1.0",
"sqlalchemy>=2.0.0",
]
[project.scripts]
notsudo = "cli.main:app"
notsudo-mcp = "mcp_server.server:run_server"
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-asyncio>=0.23.0",
"psycopg2-binary",
"pytest-watch>=4.2.0",
"ruff>=0.3.0",
"mypy>=1.9.0",
"pre-commit>=3.7.0"
]
[tool.ruff]
line-length = 140
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "I"]
[tool.mypy]
strict = true
python_version = "3.12"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
[tool.setuptools.packages.find]
include = ["api", "api.*", "cli", "cli.*", "core", "core.*", "eval", "eval.*", "mcp_server", "mcp_server.*"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"