-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
83 lines (73 loc) · 1.8 KB
/
Copy pathpyproject.toml
File metadata and controls
83 lines (73 loc) · 1.8 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
[build-system]
requires = ["setuptools>=77"]
build-backend = "setuptools.build_meta"
[project]
name = "map-matched-retrieval"
version = "0.1.0"
description = "Trajectory-aware retrieval over a corpus graph"
readme = "README.md"
requires-python = ">=3.10"
license = "Apache-2.0"
authors = [{ name = "OperatorStack" }]
classifiers = [
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Typing :: Typed",
]
dependencies = []
[project.optional-dependencies]
graph = [
"numpy>=2.2.6",
]
faiss = [
"faiss-cpu>=1.14.3",
"numpy>=2.2.6",
]
eval = [
"ir-datasets>=0.5.11",
"numpy>=2.2.6",
]
gemini = [
"google-genai>=2.11.0",
]
st = [
"sentence-transformers>=3.0",
]
dev = [
"build>=1.5.1",
"mypy>=1.16",
"pytest>=8.4",
"ruff>=0.12",
]
[tool.setuptools.packages.find]
where = ["src"]
[tool.pytest.ini_options]
addopts = "-q"
testpaths = ["tests"]
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM", "RUF"]
[tool.mypy]
python_version = "3.10"
strict = true
packages = ["mapmatched"]
mypy_path = "src"
warn_unreachable = true
[[tool.mypy.overrides]]
module = "composable_model_graph"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = ["datasets", "datasets.*", "ir_datasets", "ir_datasets.*"]
ignore_missing_imports = true
# numpy's shipped stubs use Python 3.12 `type` statements, but mypy targets 3.10
# here; skip analyzing them (numpy is an optional, lazily-imported dependency).
[[tool.mypy.overrides]]
module = ["numpy", "numpy.*", "sentence_transformers", "sentence_transformers.*"]
follow_imports = "skip"
ignore_missing_imports = true