Skip to content

Commit a8dd927

Browse files
authored
Fix ruff on main (#9443)
1 parent b660044 commit a8dd927

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

docs/development/custom-vectors/chacha20/generate_chacha20_overflow.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,7 @@ def _build_vectors():
3333
output.append(f"INITIAL_BLOCK_COUNTER = {counter}")
3434
output.append(f"PLAINTEXT = {binascii.hexlify(plaintext)}")
3535
output.append(
36-
"CIPHERTEXT = {}".format(
37-
binascii.hexlify(encryptor.update(plaintext))
38-
)
36+
f"CIPHERTEXT = {binascii.hexlify(encryptor.update(plaintext))}"
3937
)
4038
return "\n".join(output)
4139

0 commit comments

Comments
 (0)