ci: update linter settings format for ruff

Fixes:
> warning: The top-level linter settings are deprecated in favour of
> their counterparts in the `lint` section`.
This commit is contained in:
Yaroslav Chvanov
2024-02-27 19:05:04 +03:00
parent a52ffcdb45
commit e31338f081

View File

@@ -3,7 +3,7 @@ target-version = ["py37"]
[tool.ruff] [tool.ruff]
target-version = "py37" target-version = "py37"
select = [ lint.select = [
# pycodestyle # pycodestyle
"E", "E",
"W", "W",
@@ -25,7 +25,7 @@ select = [
# flake8-simplify # flake8-simplify
"SIM", "SIM",
] ]
ignore = [ lint.ignore = [
# Line too long. # Line too long.
# We have some places where it's just impossible to make it fit. # We have some places where it's just impossible to make it fit.
"E501", "E501",