-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
78 lines (67 loc) · 1.93 KB
/
Copy pathpyproject.toml
File metadata and controls
78 lines (67 loc) · 1.93 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 = "researcher-agent"
version = "0.1.0"
description = "Personal AI security research intelligence agent."
readme = "README.md"
requires-python = ">=3.11"
license = { text = "MIT" }
authors = [{ name = "tbd" }]
dependencies = [
"pydantic>=2.7",
"httpx>=0.27",
"feedparser>=6.0.11",
"python-dateutil>=2.9",
"rapidfuzz>=3.9",
"pyyaml>=6.0",
"typer>=0.12",
"google-genai>=0.3",
"anthropic>=0.34",
"ollama>=0.3",
]
[project.scripts]
researcher = "researcher_agent.__main__:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["researcher_agent"]
[dependency-groups]
dev = [
"pytest>=8.0",
"pytest-recording>=0.13",
"ruff>=0.6",
"mypy>=1.11",
"types-PyYAML",
"types-python-dateutil",
]
[tool.ruff]
target-version = "py311"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP", "SIM", "RUF"]
ignore = ["E501"] # line length handled by formatter
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["B011"]
# Typer expresses CLI options/arguments as calls in parameter defaults; that is
# the framework's intended idiom, not the mutable-default footgun B008 targets.
[tool.ruff.lint.flake8-bugbear]
extend-immutable-calls = ["typer.Option", "typer.Argument"]
[tool.mypy]
python_version = "3.11"
strict = true
warn_unused_ignores = true
warn_redundant_casts = true
disallow_untyped_decorators = true
plugins = ["pydantic.mypy"]
[[tool.mypy.overrides]]
module = ["feedparser.*", "ollama.*", "google.*"]
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["tests"]
# Deselect the token-costing / network suites by default; opt in with `-m golden`
# (see `make test-golden`) or `-m live`.
addopts = "-ra -q --strict-markers -m 'not golden and not live'"
markers = [
"live: hits real network / APIs (skipped in default CI)",
"golden: runs against the labeled golden set (costs LLM tokens)",
]