From 96507c446441faa27cbc90bdb82bd7341702ac8a Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Sat, 24 Aug 2024 17:25:42 +0530 Subject: [PATCH] ruff: Update configuration --- ruff/.config/ruff/pyproject.toml | 6 ------ ruff/.config/ruff/ruff.toml | 9 +++++++++ 2 files changed, 9 insertions(+), 6 deletions(-) delete mode 100644 ruff/.config/ruff/pyproject.toml create mode 100644 ruff/.config/ruff/ruff.toml diff --git a/ruff/.config/ruff/pyproject.toml b/ruff/.config/ruff/pyproject.toml deleted file mode 100644 index 8d38659..0000000 --- a/ruff/.config/ruff/pyproject.toml +++ /dev/null @@ -1,6 +0,0 @@ -[tool.ruff] - -select = ["E", "F", "I", "W", "Q"] - -# Never enforce `E501` (line length violations). -ignore = ["E501"] diff --git a/ruff/.config/ruff/ruff.toml b/ruff/.config/ruff/ruff.toml new file mode 100644 index 0000000..651b030 --- /dev/null +++ b/ruff/.config/ruff/ruff.toml @@ -0,0 +1,9 @@ +[lint] +ignore = ["E402", "E501"] +select = [ + "E", # pycodestyle + "W", # pycodestyle + "F", # Pyflakes + "I", # isort + "Q", # flake8-quotes +]