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

Assisted-by: Claude:claude-opus-4-7
bin/tests/system/isctest/vars/features.py

index 3ebb0863a84a7c141afd26a29bd94c4a237a8dea..40982802afc4d97767ebffd8fdba495c3db87799 100644 (file)
@@ -33,7 +33,7 @@ FEATURES = {
     "ZLIB": "--with-zlib",
 }
 
-FEATURE_VARS = {}
+FEATURE_VARS: dict[str, str] = {}
 
 
 def feature_test(feature):