-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathpyproject.toml
More file actions
51 lines (44 loc) · 950 Bytes
/
pyproject.toml
File metadata and controls
51 lines (44 loc) · 950 Bytes
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
[build-system]
requires = ["setuptools>=61", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "rnd"
version = "0.1.0"
dependencies = [
"accelerate",
"torch>=2.8",
"transformers",
"rich"
]
[project.optional-dependencies]
flashinfer = [
"flashinfer-python",
]
sglang = ["sglang[all]"]
vllm = ["vllm"]
linting = ["ruff>=0.13.2", "pre-commit>=4.0.0"]
[tool.setuptools]
packages = ["rnd"]
[tool.ruff]
line-length = 120
target-version = "py311"
show-fixes = false
extend-exclude = ["*.ipynb"]
[tool.ruff.lint]
select = ["F", "E", "W", "I001", "UP"]
task-tags = ["TODO", "FIXME"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["E402", "F401"]
[tool.ruff.lint.isort]
known-first-party = []
known-third-party = []
section-order = [
"future",
"standard-library",
"third-party",
"first-party",
"local-folder",
]
combine-as-imports = true
split-on-trailing-comma = false
lines-between-types = 1