mirror of
https://github.com/libratbag/libratbag.git
synced 2026-11-07 15:14:38 +01:00
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:
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user