-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
96 lines (83 loc) · 2.29 KB
/
pyproject.toml
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
[project]
name = "grouse"
description = "Evaluate Grounded Question Answering models and Grounded Question Answering evaluator models."
dynamic = ["version"]
requires-python = ">=3.10,<3.13"
authors = [
{ name = "Sacha Muller", email = "[email protected]" },
{ name = "Antonio Loison", email = "[email protected]" },
{ name = "Bilel Omrani", email = "[email protected]" },
]
readme = "README.md"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"click>=8.1.0,<8.1.7",
"litellm>=1.41.0,<2.0.0",
"diskcache>=5.6.0,<6.0.0",
"numpy>=1.21.2,<3.0.0",
"jsonlines>=4.0.0,<5.0.0",
"datasets==2.20.0",
"Jinja2>=3.1.0,<4.0.0",
"tqdm>=4.66.0,<5.0.0",
"pydantic>=2.5.0,<3.0.0",
"diskcache>=5.6.0,<6.0.0",
"matplotlib>=3.9.0,<4.0.0",
"importlib-resources>=6.4.0,<7.0.0",
]
[project.optional-dependencies]
dev = [
"ruff==0.5.4",
"deptry==0.17.0",
"mypy==1.11.0",
"pytest==8.3.1",
"coverage==7.6.0",
"types-tqdm==4.66.0",
"mock==5.1.0",
]
[project.urls]
homepage = "https://github.com/illuin-tech/grouse"
repository = "https://github.com/illuin-tech/grouse"
[build-system]
requires = ["setuptools>=64", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
fallback_version = "0.0.1"
[project.scripts]
grouse = "grouse.main:cli"
[tool.setuptools.packages.find]
include = ["grouse", "grouse.*"]
[tool.black]
line-length = 88
extend-exclude = "^.venv"
[tool.ruff]
lint.select = ["E", "F", "W", "I", "N"]
line-length = 88
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
"grouse/plot.py" = ["E501"]
[tool.mypy]
ignore_missing_imports = true
check_untyped_defs = true
disallow_untyped_defs = true
enable_error_code = ["ignore-without-code"]
exclude = ["venv/", ".venv/"]
mypy_path = "$MYPY_CONFIG_FILE_DIR/typings"
no_implicit_optional = true
show_error_codes = true
warn_redundant_casts = true
warn_return_any = true
warn_unused_configs = true
warn_unused_ignores = true
warn_unreachable = true
[[tool.mypy.overrides]]
module = ["datasets"]
ignore_missing_imports = true
[tool.deptry.per_rule_ignores]
DEP002 = [
"diskcache",
]