-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathci-271.toml
More file actions
150 lines (141 loc) · 2.82 KB
/
ci-271.toml
File metadata and controls
150 lines (141 loc) · 2.82 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
[build-system]
requires = [
"maturin >= 1.8.6",
"numpy >= 1.26.4",
"setuptools >= 78.1.1",
"torch == 2.7.1",
]
build-backend = "maturin"
[project]
name = "fast_plaid"
version = "1.4.6.271"
description = "Fast Plaid."
authors = [
{ name = "Raphael Sourty, LightOn", email = "raphael.sourty@lighton.ai" },
]
keywords = []
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Rust",
"Operating System :: OS Independent",
]
requires-python = ">=3.10"
dependencies = [
"fastkmeans == 0.5.0",
"joblib>=1.5.1",
"torch == 2.7.1",
"numpy >= 1.26.4",
"filelock>=3.20.0",
"usearch>=2.21.0",
]
[project.optional-dependencies]
dev = [
"maturin >= 1.8.6",
"pytest-cov >= 5.0.0",
"pytest >= 7.4.4",
"ruff >= 0.1.15",
"pre-commit >= 3.0.0",
"pylate >= 1.2.1",
"beir>=2.1.0",
"ranx>=0.3.20",
]
[project.urls]
Homepage = "https://github.com/lightonai/fast-plaid"
Documentation = "https://github.com/lightonai/fast-plaid"
Repository = "https://github.com/lightonai/fast-plaid"
[tool.include]
include = ["Cargo.toml", "pyproject.toml", "README.md", "rust/*"]
[tool.maturin]
bindings = "pyo3"
features = ["pyo3/extension-module"]
python-source = "python"
module-name = "fast_plaid.fast_plaid_rust"
[tool.pytest.ini_options]
filterwarnings = [
"ignore::DeprecationWarning",
"ignore::RuntimeWarning",
"ignore::UserWarning",
]
addopts = [
"--doctest-modules",
"--verbose",
"-ra",
"--cov-config=.coveragerc",
"-m not web and not slow",
]
doctest_optionflags = ["NORMALIZE_WHITESPACE", "NUMBER"]
norecursedirs = ["build", "docs", "node_modules"]
markers = [
"web: tests that require using the Internet",
"slow: tests that take a long time to run",
]
[tool.ruff]
line-length = 88
indent-width = 4
target-version = "py310"
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
docstring-code-format = false
docstring-code-line-length = "dynamic"
[tool.ruff.lint]
ignore = [
"ANN001",
"TID252",
"FBT002",
"ANN201",
"G004",
"BLE001",
"S112",
"PTH123",
"S101",
"ANN204",
"PLR2004",
"D104",
"D100",
"PTH118",
"PTH110",
"PTH103",
"S311",
"T201",
"FBT001",
"D107",
"PTH107",
"PTH109",
"S603",
"S607",
"PGH004",
"PLC0206",
"PLW1508",
"INP001",
"FIX002",
"TD003",
"PGH003",
"ANN401",
"PERF401",
"D203",
"D213",
"COM812",
"N812",
"PTH207",
"PTH120",
"SIM105",
"PERF203",
"TRY203",
"TRY201",
"PTH112",
"B905",
"UP037",
"PLC0415",
]
select = ["ALL"]
fixable = ["ALL"]
unfixable = []
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"