From 8b33eaa947a7aba1e3aaea46c470f5d985bf8c46 Mon Sep 17 00:00:00 2001 From: kagami Date: Thu, 9 May 2024 21:16:22 +0800 Subject: [PATCH] Update ruff config --- pyproject.toml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 6e27297..c7b239e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,13 @@ [tool.ruff] +target-version = "py38" line-length = 100 [tool.ruff.lint] -select = ["I"] # Enable the isort rules -extend-select = ["E501"] # explicitly adding the rules \ No newline at end of file +select = [ + "E", # Error + "W", # Warning + "F", # pyflakes + "I", # isort +] +fixable = ["ALL"] +extend-select = ["E501"] # Line too long \ No newline at end of file