]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Don't type-check the flaky plugin with mypy
authorTom Krizek <tkrizek@isc.org>
Fri, 22 Dec 2023 15:11:21 +0000 (16:11 +0100)
committerTom Krizek <tkrizek@isc.org>
Wed, 10 Jan 2024 13:57:20 +0000 (14:57 +0100)
Since we execute mypy for bin/tests/system/isctest package, this is now
needed because the flaky package doesn't have type hints.

bin/tests/system/isctest/mark.py

index ba3a9d4894a83f6396bd4b6c21a421644e5e35f6..769abbbb5df205b5887977c81b8510f4cf262d2c 100644 (file)
@@ -43,7 +43,7 @@ have_json_c = pytest.mark.skipif(
 
 
 try:
-    import flaky as flaky_pkg
+    import flaky as flaky_pkg  # type: ignore
 except ModuleNotFoundError:
     # In case the flaky package is not installed, run the tests as usual
     # without any attempts to re-run them.