Skip to content

Commit 2682d80

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 <[email protected]>
1 parent fe11021 commit 2682d80

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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
@@ -21,4 +24,3 @@ ignore = [
2124
'S603', # subprocess-without-shell-equals-true
2225
'S607', # start-process-with-partial-path
2326
]
24-
target-version = 'py38'

0 commit comments

Comments
 (0)