]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Add a small config for the ruff tool
authorŠtěpán Balážik <stepan@isc.org>
Tue, 27 Jan 2026 23:37:21 +0000 (00:37 +0100)
committerŠtěpán Balážik <stepan@isc.org>
Wed, 25 Feb 2026 12:15:05 +0000 (13:15 +0100)
It will be used for automated refactors of Python code.

(cherry picked from commit b7000ba9b0b08618ce8e380bd4e3ab660be84c2a)

pyproject.toml

index 65ce8ba341daabee9974aa2341412c190602bfa8..a4131873c65c7f67a2fa56336e2c0bdbe004d06e 100644 (file)
@@ -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",
+]