forked from redai-infra/Relax
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
46 lines (40 loc) · 916 Bytes
/
pyproject.toml
File metadata and controls
46 lines (40 loc) · 916 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
[build-system]
requires = ["setuptools>=61.0", "versioneer[toml]==0.29"]
build-backend = "setuptools.build_meta"
[tool.ruff]
target-version = "py310"
line-length = 119
indent-width = 4
[tool.ruff.lint]
ignore = ["C408", "C420", "C901", "E501", "E731", "E741", "W605"]
select = ["C", "E", "F", "I", "W"]
[tool.ruff.lint.isort]
lines-after-imports = 2
known-first-party = ["relax"]
known-third-party = [
"accelerate",
"datasets",
"gradio",
"numpy",
"peft",
"ray",
"sglang",
"torch",
"transformers",
"trl"
]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
docstring-code-format = true
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.pytest.ini_options]
asyncio_mode = "auto"
[tool.versioneer]
VCS = "git"
style = "pep440"
versionfile_source = "relax/_version.py"
versionfile_build = "relax/_version.py"
tag_prefix = "v"
parentdir_prefix = "v"