Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
139 lines (125 loc) · 3.31 KB
/
Copy pathpyproject.toml
File metadata and controls
139 lines (125 loc) · 3.31 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
[build-system]
requires = ["setuptools>=77", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "rea-mcp"
version = "0.1.58"
description = "rea-mcp - reverse engineer anything from your terminal or agent, with one CLI and MCP server."
readme = "README.md"
license = "MIT"
license-files = ["LICENSE"]
requires-python = ">=3.10"
authors = [{ name = "rea-mcp contributors" }]
keywords = [
"reverse-engineering",
"binary-analysis",
"agents",
"cli",
"mcp-server",
"model-context-protocol",
"static-analysis",
"rea-python",
"rea_mcp",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Security",
"Topic :: Software Development :: Disassemblers",
]
dependencies = [
"pydantic>=2.6",
"pydantic-settings>=2.2",
"typer>=0.12",
"mcp>=1.26,<2",
"uvicorn>=0.30",
"msgpack>=1.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"pytest-asyncio>=0.23",
"pytest-cov>=5.0",
"hypothesis>=6.100",
"mypy>=1.10",
"ruff>=0.6",
"build>=1.2",
"twine>=5.0",
]
[project.scripts]
rea-mcp = "rea_mcp.main.entry:cli_main"
rea-python = "rea_mcp.main.entry:cli_main"
rea = "rea_mcp.main.entry:cli_main"
[project.urls]
Homepage = "https://github.com/kandada/rea-python"
Repository = "https://github.com/kandada/rea-python.git"
Issues = "https://github.com/kandada/rea-python/issues"
[tool.setuptools.packages.find]
where = ["."]
include = ["rea*"]
exclude = ["rea_mcp.tests*", "tests*"]
[tool.setuptools.package-data]
rea_mcp = ["py.typed", "data/*.md"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
asyncio_mode = "auto"
addopts = "-q"
pythonpath = ["."]
markers = [
"domain: pure domain unit tests",
"contracts: schema contract tests",
"providers: provider adapter tests",
"application: application workflow tests",
"boundary: single production boundary tests",
"mcp: MCP transport and tool contract tests",
"acceptance: compiled CLI/MCP journey tests",
"slow: slow or toolchain-dependent tests",
"real_engine: requires a real external engine (named skip when absent)",
]
[tool.coverage.run]
branch = true
source = ["rea_mcp"]
[tool.coverage.report]
show_missing = true
exclude_lines = [
"pragma: no cover",
"raise NotImplementedError",
"if TYPE_CHECKING:",
]
[tool.mypy]
python_version = "3.10"
strict = true
warn_unused_ignores = true
disallow_untyped_defs = true
no_implicit_optional = true
files = ["rea_mcp"]
# Optional engines are imported lazily and are not hard dependencies. Their
# absence must not fail type-checking on any host.
[[tool.mypy.overrides]]
module = [
"playwright",
"playwright.*",
"frida",
"rzpipe",
"evmole",
"pyhidra",
"ghidra.*",
"mitmproxy",
"mitmproxy.*",
]
ignore_missing_imports = true
[tool.ruff]
line-length = 100
target-version = "py310"
extend-exclude = ["vendor", ".venv", "build", "dist"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM", "C4", "RUF"]
ignore = ["E501", "B008"]