-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
60 lines (52 loc) · 1.3 KB
/
Copy pathpyproject.toml
File metadata and controls
60 lines (52 loc) · 1.3 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
[project]
name = "analyzer-service"
version = "0.1.0"
description = "Static vulnerability analyzer for JavaScript/TypeScript code"
requires-python = ">=3.12"
dependencies = [
"fastapi>=0.115.0",
"uvicorn[standard]>=0.30.0",
"pydantic>=2.0",
"pydantic-settings>=2.0",
"tree-sitter>=0.23,<0.26",
"tree-sitter-javascript>=0.23",
"tree-sitter-typescript>=0.23",
"celery[redis]>=5.4",
"redis>=5.0",
"sqlalchemy>=2.0",
"alembic>=1.13",
"psycopg2-binary>=2.9",
"httpx>=0.27",
]
[project.optional-dependencies]
dev = [
"pyyaml>=6",
"pytest>=8.0",
"pytest-asyncio>=0.24",
"pytest-cov>=5.0",
"ruff>=0.6",
"mypy>=1.11",
]
[build-system]
requires = ["setuptools>=75.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["src"]
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
pythonpath = ["src", "."]
[tool.ruff]
target-version = "py312"
line-length = 100
src = ["src", "tests", "eval"]
[tool.ruff.lint]
select = ["E", "F", "W", "I", "N", "UP", "B", "SIM", "TCH"]
[tool.mypy]
python_version = "3.12"
strict = true
plugins = ["pydantic.mypy"]
mypy_path = "src"
[[tool.mypy.overrides]]
module = ["celery.*", "tree_sitter.*", "tree_sitter_javascript.*", "tree_sitter_typescript.*"]
ignore_missing_imports = true