-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathpyproject.toml
More file actions
69 lines (59 loc) · 1.7 KB
/
Copy pathpyproject.toml
File metadata and controls
69 lines (59 loc) · 1.7 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
[project]
name = "reai_toolkit"
version = "3.6.1"
description = "RevEng.AI Toolkit plugin for IDA"
requires-python = ">=3.10"
# Runtime deps only — IDA ships idaapi/Qt; don't add them here.
dependencies = [
"requests>=2.32",
"loguru>=0.7",
"pydantic",
"revengai>=3.93.0",
"libbs>=2.16.5",
]
[build-system]
requires = ["setuptools>=61"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
include = ["reai_toolkit*"]
exclude = ["screenshots*", "tests*", "docker*", "stubs*"]
# -------------------------------
# Astral uv configuration
# -------------------------------
[tool.uv]
[dependency-groups]
dev = [
"pytest>=8.3",
"pytest-mock>=3.14",
"types-requests",
"pyqt5-stubs",
"idapro>=0.0.5",
"pyqt5",
"pyqt6-stubs",
"pyqt6",
"PySide6",
"debugpy>=1.8.17",
"ruff>=0.14.13",
]
# If you *do* want to install a stub package for IDA later, you can use a sources entry:
# [tool.uv.sources]
# idapython-stubs = { git = "https://example.com/your-idapython-stubs.git", rev = "main" }
# and then add "idapython-stubs" to the dev-dependencies list above.
[tool.black]
line-length = 100
target-version = ["py310"]
[tool.isort]
profile = "black"
[tool.mypy]
python_version = "3.10"
ignore_missing_imports = true
strict = false
# Point mypy to a local stubs folder (no install needed).
# Put your IDA API .pyi files under ./stubs/ida/
mypy_path = ["stubs"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "--import-mode=importlib"
markers = [
"idalib: tests that require an activated idalib (IDA Pro headless). Run with `pytest -m idalib`. In CI these run on the `ida` self-hosted runner image (IDA + idalib preinstalled, licensing provided by the runner environment).",
]