-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
83 lines (73 loc) · 2.23 KB
/
pyproject.toml
File metadata and controls
83 lines (73 loc) · 2.23 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
[project]
name = "snap"
version = "0.1.0"
description = "SNAP - Snapshot Notebook Abide Persistence"
requires-python = ">=3.11"
dependencies = [
"pydantic>=2.0",
"pydantic-settings>=2.0",
"sqlalchemy>=2.0",
"psycopg[binary]>=3.0",
"PyYAML>=6.0",
"flask>=3.0",
"starlette>=0.27",
"uvicorn>=0.23",
"mcp>=1.0",
"tree-sitter>=0.22",
"tree-sitter-python>=0.21",
"tree-sitter-javascript>=0.21",
"tree-sitter-typescript>=0.21",
"tree-sitter-java>=0.21",
"tree-sitter-go>=0.21",
"tree-sitter-rust>=0.21",
"tree-sitter-c>=0.21",
"tree-sitter-cpp>=0.21",
"tree-sitter-c-sharp>=0.21",
"tree-sitter-ruby>=0.21",
"tree-sitter-php>=0.21",
"tree-sitter-swift",
"tree-sitter-kotlin",
"tree-sitter-scala",
"semgrep>=1.50.0",
"pyjwt>=2.8",
"httpx>=0.25",
]
[project.scripts]
snap-admin = "app.admin:main"
snap-mcp = "app.mcp.run:main"
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"black>=23.0",
"ruff>=0.1",
"pyinstaller>=6.0",
]
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["."]
include = ["app", "app.*"]
[tool.setuptools.package-data]
"app.parsers" = ["*.nim"]
# nim_parser.nim must be compiled before use.
# Requires: nim >= 2.0 (winget install nim-lang.Nim)
# Build: nim c -d:release --opt:speed -o:app/parsers/nim_parser app/parsers/nim_parser.nim
# Windows: scripts\build_nim_parser.bat
[tool.pylint.main]
extension-pkg-whitelist = ["pydantic"]
[tool.pylint.messages_control]
disable = [
"no-member", # False positives with Pydantic
"missing-function-docstring", # Style preference
"missing-class-docstring", # Style preference
"trailing-whitespace", # Auto-fixable
"line-too-long", # Style preference
"wrong-import-order", # Auto-fixable
"invalid-name", # Style preference for constants
"import-outside-toplevel", # Intentional lazy imports
"no-name-in-module", # False positives with MCP library
"import-self", # False positive: app/mcp/server.py != mcp.server
]
[tool.pylint.format]
max-line-length = 120