-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
73 lines (62 loc) · 1.67 KB
/
pyproject.toml
File metadata and controls
73 lines (62 loc) · 1.67 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
[build-system]
requires = ["flit_core>=3.4,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "lset"
version = "0.0.1"
description = "LSET: Large Scale Embedding Trainer — PyTorch-native training framework for large-scale embedding and reranker models"
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.10"
authors = [
{name = "Seunghyun Cho"},
]
keywords = ["embedding", "retrieval", "information-retrieval", "pytorch", "training", "reranker", "bi-encoder", "cross-encoder"]
classifiers = [
"Development Status :: 1 - Planning",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"pyyaml",
]
[project.optional-dependencies]
eval = ["mteb>=2.0.0"]
[project.scripts]
lset = "lset.cli:main"
[project.urls]
Homepage = "https://github.com/roycho96/LSET"
Issues = "https://github.com/roycho96/LSET/issues"
[tool.ruff]
line-length = 120
target-version = "py310"
respect-gitignore = true
src = ["lset"]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"F", # pyflakes
"I", # isort
]
ignore = ["E501", "E731", "E402"]
exclude = [
".git",
"__pycache__",
".venv",
"lset/kernels/experimental",
]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.ruff.lint.isort]
known-first-party = ["lset"]
force-single-line = true
lines-between-types = 1
[tool.pytest.ini_options]
testpaths = ["tests"]