With hypothesis>6.148.3, pylint generates
W0101: Unreachable code (unreachable)
when any code is present after hypothesis.assume(). Silence these until
it is fixed upstream.
See https://github.com/pylint-dev/pylint/issues/10785#issuecomment-
3677224217
# See the COPYRIGHT file distributed with this work for additional
# information regarding copyright ownership.
+# Silence incorrect warnings cause by hypothesis.assume()
+# https://github.com/pylint-dev/pylint/issues/10785#issuecomment-3677224217
+# pylint: disable=unreachable
+
from dataclasses import dataclass
import os
from pathlib import Path
#
# See the COPYRIGHT file distributed with this work for additional
# information regarding copyright ownership.
+
+# Silence incorrect warnings cause by hypothesis.assume()
+# https://github.com/pylint-dev/pylint/issues/10785#issuecomment-3677224217
+# pylint: disable=unreachable
+
import glob
import os
import subprocess
# See the COPYRIGHT file distributed with this work for additional
# information regarding copyright ownership.
+# Silence incorrect warnings cause by hypothesis.assume()
+# https://github.com/pylint-dev/pylint/issues/10785#issuecomment-3677224217
+# pylint: disable=unreachable
+
import time
import pytest
- special behavior of rdtypes like CNAME
"""
+# Silence incorrect warnings cause by hypothesis.assume()
+# https://github.com/pylint-dev/pylint/issues/10785#issuecomment-3677224217
+# pylint: disable=unreachable
+
import pytest
import dns