mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-10-15 08:08:09 +08:00
Update pyproject.toml
Former-commit-id: 650251ea77fae2e2595ca804f49efdd230dbb5b1
This commit is contained in:
parent
f67f781fed
commit
e5484b2729
@ -7,14 +7,23 @@ line-length = 119
|
|||||||
target-version = ["py38"]
|
target-version = ["py38"]
|
||||||
|
|
||||||
[tool.ruff]
|
[tool.ruff]
|
||||||
|
line-length = 119
|
||||||
|
indent-width = 4
|
||||||
|
|
||||||
|
[tool.ruff.lint]
|
||||||
ignore = ["C408", "C901", "E501", "E731", "E741", "W605"]
|
ignore = ["C408", "C901", "E501", "E731", "E741", "W605"]
|
||||||
select = ["C", "E", "F", "I", "W"]
|
select = ["C", "E", "F", "I", "W"]
|
||||||
line-length = 119
|
|
||||||
|
|
||||||
[tool.ruff.isort]
|
[tool.ruff.isort]
|
||||||
lines-after-imports = 2
|
lines-after-imports = 2
|
||||||
known-first-party = ["llmtuner"]
|
known-first-party = ["llmtuner"]
|
||||||
|
|
||||||
|
[tool.ruff.format]
|
||||||
|
quote-style = "double"
|
||||||
|
indent-style = "space"
|
||||||
|
skip-magic-trailing-comma = false
|
||||||
|
line-ending = "auto"
|
||||||
|
|
||||||
[isort]
|
[isort]
|
||||||
default_section = "FIRSTPARTY"
|
default_section = "FIRSTPARTY"
|
||||||
known_first_party = "llmtuner"
|
known_first_party = "llmtuner"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user