-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
62 lines (53 loc) · 1.4 KB
/
Copy pathpyproject.toml
File metadata and controls
62 lines (53 loc) · 1.4 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "reporadar"
version = "1.0.0"
description = "Monitor arXiv for papers relevant to your repo and produce a weekly Markdown digest."
readme = "README.md"
license = "MIT"
requires-python = ">=3.11"
dependencies = [
"click>=8.0",
"pyyaml>=6.0",
"scikit-learn>=1.3",
"jinja2>=3.1",
"arxiv>=2.0",
]
[project.scripts]
rr = "reporadar.cli:cli"
[project.optional-dependencies]
embeddings = [
"sentence-transformers>=2.0",
]
evals = [
# Only needed for the Tier B LLM-judge benchmark (evals/run_judge_eval.py).
"openai>=1.0", # the neutral judge
"anthropic>=0.40", # the --baseline api Opus + web_search baseline
]
dev = [
"pytest>=7.0",
"pytest-cov>=4.0",
"ruff>=0.4",
"mypy>=1.10",
]
[tool.hatch.build.targets.wheel]
packages = ["src/reporadar"]
[tool.pytest.ini_options]
testpaths = ["tests"]
# The eval harness (evals/) imports its own modules top-level (script-dir style),
# so put it on the path to let tests import baseline/verify directly.
pythonpath = ["evals"]
[tool.ruff]
target-version = "py311"
line-length = 100
[tool.ruff.lint]
select = ["E", "W", "F", "I", "UP", "B", "SIM"]
[tool.mypy]
strict = true
warn_return_any = true
warn_unused_configs = true
[[tool.mypy.overrides]]
module = ["arxiv", "sklearn.*", "yaml", "sentence_transformers"]
ignore_missing_imports = true