]> 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>
Fri, 20 Feb 2026 14:17:31 +0000 (15:17 +0100)
It will be used for automated refactors of Python code.

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",
+]