LLaMA-Factory-310P3/pyproject.toml

34 lines
645 B
TOML
Raw Normal View History

2023-07-15 16:54:28 +08:00
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
2024-01-20 19:58:04 +08:00
[tool.ruff]
2024-02-26 17:25:47 +08:00
target-version = "py38"
2024-02-07 00:45:58 +08:00
line-length = 119
indent-width = 4
[tool.ruff.lint]
2024-01-20 20:15:56 +08:00
ignore = ["C408", "C901", "E501", "E731", "E741", "W605"]
2024-01-20 19:58:04 +08:00
select = ["C", "E", "F", "I", "W"]
2024-02-07 01:10:04 +08:00
[tool.ruff.lint.isort]
2024-01-20 19:58:04 +08:00
lines-after-imports = 2
2024-05-16 18:39:08 +08:00
known-first-party = ["llamafactory"]
2024-02-26 17:25:47 +08:00
known-third-party = [
2024-01-20 19:58:04 +08:00
"accelerate",
"datasets",
"gradio",
"numpy",
"peft",
"torch",
"transformers",
"trl"
]
2024-02-26 17:25:47 +08:00
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
2024-03-06 14:51:51 +08:00
docstring-code-format = true
2024-02-26 17:25:47 +08:00
skip-magic-trailing-comma = false
line-ending = "auto"