-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
85 lines (73 loc) · 1.65 KB
/
Copy pathpyproject.toml
File metadata and controls
85 lines (73 loc) · 1.65 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
[project]
name = "idac"
version = "0.18.0"
description = "Agent-friendly CLI for IDA with GUI and idalib backends"
readme = "README.md"
authors = [
{ name = "Jay Little / Trail of Bits", email = "jay@trailofbits.com" }
]
requires-python = ">=3.10"
dependencies = []
[project.scripts]
idac = "idac.cli:main"
[dependency-groups]
dev = [
{ include-group = "lint" },
{ include-group = "test" },
]
lint = [
"ruff>=0.15.20",
]
test = [
"pytest>=9.1.1",
"pytest-cov>=7.0.0",
]
[build-system]
requires = ["uv_build>=0.11.26,<0.12.0"]
build-backend = "uv_build"
[tool.uv.build-backend]
source-exclude = [
"/src/idac/skills/idac/references/temp",
"/src/idac/skills/idac/references/temp/**",
]
wheel-exclude = [
"/src/idac/skills/idac/references/temp",
"/src/idac/skills/idac/references/temp/**",
]
[tool.uv]
default-groups = ["dev"]
exclude-newer = "1 week"
[tool.ruff]
line-length = 120
target-version = "py310"
src = ["src", "tests", "plugin"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM", "RUF"]
ignore = ["UP045"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
"src/idac/ida_plugin/idac_bridge_plugin.py" = ["E402"]
[tool.ruff.format]
docstring-code-format = true
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]
addopts = [
"-ra",
"--strict-config",
"--strict-markers",
"--cov=idac",
"--cov-report=term-missing",
]
markers = [
"gui_live: optional Unix-socket GUI transport integration tests",
]
[tool.coverage.run]
branch = true
source = ["src/idac"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING:",
"if __name__ == .__main__.:",
]