From aacc823b0ff4382a94171a59f1061b4ce7f99ea5 Mon Sep 17 00:00:00 2001 From: hiyouga Date: Wed, 7 Feb 2024 00:45:58 +0800 Subject: [PATCH] Update pyproject.toml --- pyproject.toml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 44a6e497..d6188228 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"