From e637e5a09e4f5ed6a9f2ec73c68a7d294120317d Mon Sep 17 00:00:00 2001 From: lakshay Date: Wed, 31 Jul 2024 13:58:52 +0530 Subject: [PATCH] #2244 Issue: Update deprecated ruff linter settings (#2248) --- .github/ruff.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/ruff.toml b/.github/ruff.toml index 306cc891e..c3a1de6d9 100644 --- a/.github/ruff.toml +++ b/.github/ruff.toml @@ -1,16 +1,16 @@ # Enable the pycodestyle (`E`) and Pyflakes (`F`) rules by default. # Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or # McCabe complexity (`C901`) by default. -select = ["E", "F"] +lint.select = ["E", "F"] # Allow autofix for all enabled rules (when `--fix`) is provided. -fixable = ["ALL"] -unfixable = [] +lint.fixable = ["ALL"] +lint.unfixable = [] # E402 module level import not at top of file # E722 do not use bare 'except' # E501 line too long -ignore = ["E402", "E722", "E501"] +lint.ignore = ["E402", "E722", "E501"] line-length = 120