Skip to content

Commit 14fa200

Browse files
committed
ruff.toml: Update for 0.2.0
There is a deprecation warning for top level lint settings: warning: The top-level linter settings are deprecated in favour of their counterparts in the `lint` section. Please update the following options in `ruff.toml`: - 'ignore' -> 'lint.ignore' - 'select' -> 'lint.select' Move these under the lint section. Additionally, update the link to the rules. Signed-off-by: Nathan Chancellor <nathan@kernel.org>
1 parent 767e014 commit 14fa200

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

ruff.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
# https://beta.ruff.rs/docs/rules/
1+
target-version = 'py38'
2+
3+
# https://docs.astral.sh/ruff/rules/
4+
[lint]
25
select = [
36
'A', # flake8-builtins
47
'ARG', # flake8-unused-arguments
@@ -27,4 +30,3 @@ ignore = [
2730
'S603', # subprocess-without-shell-equals-true
2831
'S607', # start-process-with-partial-path
2932
]
30-
target-version = 'py38'

0 commit comments

Comments
 (0)