[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2024-06-01 17:03:31 +00:00
parent c05cc652a0
commit b7d8d7f2ce

View File

@ -189,7 +189,7 @@ def multibit_set(bint: int, index: int, bit_len: int, value: int) -> int:
if bint < 0 or index < 0 or bit_len < 0 or value < 0:
raise ValueError("All input values must be positive integers.")
if bit_length(value) > bit_len:
msg =
msg =
raise ValueError(
"Bit length of value can not be greater than specified bit length."
)