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