]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Fix mypy var-annotated error on FEATURE_VARS 12088/head
authorNicki Křížek <nicki@isc.org>
Mon, 25 May 2026 12:23:03 +0000 (12:23 +0000)
committerNicki Křížek (GitLab job 7463868) <nicki@isc.org>
Mon, 25 May 2026 13:03:53 +0000 (13:03 +0000)
Mypy reports 'Need type annotation for "FEATURE_VARS"'; init_features()
populates it with str->str entries.

Assisted-by: Claude:claude-opus-4-7
(cherry picked from commit 81c110512526315adca459dd6ed53f0a7d4e8294)

bin/tests/system/isctest/vars/features.py

index 79ff9d0137c87aa2d50dadb7234e40e62c5cf00f..bca3779da7bbdec2ae40f01530d927ef31463a3d 100644 (file)
@@ -35,7 +35,7 @@ FEATURES = {
     "ZLIB": "--with-zlib",
 }
 
-FEATURE_VARS = {}
+FEATURE_VARS: dict[str, str] = {}
 
 
 def feature_test(feature):