From e31338f0810aeb3fdbdcc495383b88e4e57cf251 Mon Sep 17 00:00:00 2001 From: Yaroslav Chvanov Date: Tue, 27 Feb 2024 19:05:04 +0300 Subject: [PATCH] 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`. --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 5ae6a735..604e2a11 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ target-version = ["py37"] [tool.ruff] target-version = "py37" -select = [ +lint.select = [ # pycodestyle "E", "W", @@ -25,7 +25,7 @@ select = [ # flake8-simplify "SIM", ] -ignore = [ +lint.ignore = [ # Line too long. # We have some places where it's just impossible to make it fit. "E501",