Update pyproject.toml

This commit is contained in:
hiyouga 2024-02-07 00:45:58 +08:00
parent 0ae9a16b9d
commit aacc823b0f
1 changed files with 10 additions and 1 deletions

View File

@ -7,14 +7,23 @@ line-length = 119
target-version = ["py38"]
[tool.ruff]
line-length = 119
indent-width = 4
[tool.ruff.lint]
ignore = ["C408", "C901", "E501", "E731", "E741", "W605"]
select = ["C", "E", "F", "I", "W"]
line-length = 119
[tool.ruff.isort]
lines-after-imports = 2
known-first-party = ["llmtuner"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[isort]
default_section = "FIRSTPARTY"
known_first_party = "llmtuner"