From: Štěpán Balážik Date: Tue, 27 Jan 2026 23:37:21 +0000 (+0100) Subject: Add a small config for the ruff tool X-Git-Tag: v9.21.19~15^2~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7000ba9b0b08618ce8e380bd4e3ab660be84c2a;p=thirdparty%2Fbind9.git Add a small config for the ruff tool It will be used for automated refactors of Python code. --- diff --git a/pyproject.toml b/pyproject.toml index 65ce8ba341d..a4131873c65 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", +]