From ce66d794fc470f5e20a3c0f60391c49ea7fe6a9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0t=C4=9Bp=C3=A1n=20Bal=C3=A1=C5=BEik?= Date: Wed, 28 Jan 2026 00:37:21 +0100 Subject: [PATCH] Add a small config for the ruff tool It will be used for automated refactors of Python code. (cherry picked from commit b7000ba9b0b08618ce8e380bd4e3ab660be84c2a) --- pyproject.toml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 65ce8ba341..a4131873c6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -71,3 +71,12 @@ ignore_names = [ "pytestmark", "autouse_*", ] + +[tool.ruff] +target-version = "py310" +extend-exclude = [ + "bin/tests/system/vulture_ignore_list.py", + "contrib", + "dangerfile.py", + "doc", +]