-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
78 lines (69 loc) · 2.04 KB
/
Copy pathpyproject.toml
File metadata and controls
78 lines (69 loc) · 2.04 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
[project]
name = "copilot-mcp-soc-pack"
version = "0.8.0"
description = "Community SOC Pack for Microsoft Security Copilot — free-API MCP server and OpenAPI plugin"
readme = "README.md"
requires-python = ">=3.12"
license = { text = "MIT" }
authors = [{ name = "Nobufumi Murata" }]
keywords = ["security-copilot", "mcp", "openapi", "soc", "threat-intelligence"]
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.12",
"Topic :: Security",
]
dependencies = [
"fastapi>=0.115",
"uvicorn[standard]>=0.32",
"httpx>=0.27",
"fastmcp>=2.3",
"pydantic>=2.9",
"aiocache>=0.12",
]
[project.optional-dependencies]
tracing = [
# Application Insights / OpenTelemetry. Imported lazily by
# src.common.tracing and only initialised when
# APPLICATIONINSIGHTS_CONNECTION_STRING is set. Install with
# `pip install ".[tracing]"` (the published Docker image already
# ships this extra).
"azure-monitor-opentelemetry>=1.6",
]
dev = [
"pytest>=8.0",
"pytest-asyncio>=0.24",
"ruff>=0.7",
"mypy>=1.12",
"httpx>=0.27",
"openapi-spec-validator>=0.7",
]
[project.urls]
Homepage = "https://github.com/NobufumiMurata/copilot-mcp-soc-pack"
Issues = "https://github.com/NobufumiMurata/copilot-mcp-soc-pack/issues"
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["."]
include = ["src*"]
[tool.ruff]
line-length = 100
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM"]
[tool.ruff.lint.per-file-ignores]
# FastAPI idiomatically uses Query()/Depends() in defaults.
"src/tools/*.py" = ["B008"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
markers = [
"eval: live evaluation against a deployed (or local) SOC Pack instance; requires EVAL_TARGET_URL and is skipped by default",
]
[tool.mypy]
python_version = "3.12"
ignore_missing_imports = true
check_untyped_defs = true
warn_unused_ignores = true
warn_redundant_casts = true
files = ["src"]