]> git.ipfire.org Git - thirdparty/bind9.git/commit
Silence incorrect pylint warnings for hypothesis.assume()
authorNicki Křížek <nicki@isc.org>
Wed, 31 Dec 2025 09:53:23 +0000 (10:53 +0100)
committerNicki Křížek <nicki@isc.org>
Wed, 21 Jan 2026 15:34:50 +0000 (16:34 +0100)
commit73a049d99a4ce5addb4a059580f8e62da09d2fd8
tree9b94d72c5374ddb49964090e372df1d3723a5646
parent39e1eac692aa5d0405da3fadbe65455637960e8d
Silence incorrect pylint warnings for hypothesis.assume()

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

(cherry picked from commit 08630ca744a05bacba7eb187274507e64121c965)
bin/tests/system/nsec3-answer/tests_nsec3.py
bin/tests/system/tsig/tests_tsig_hypothesis.py
bin/tests/system/wildcard/tests_wildcard.py