From 7a066bf9f92a9b1c6124844db96d254dd767a090 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Wed, 25 Oct 2023 11:31:24 -0400 Subject: [PATCH] reformat code (#9769) this matches both ruff and black style --- src/cryptography/hazmat/backends/openssl/ciphers.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/cryptography/hazmat/backends/openssl/ciphers.py b/src/cryptography/hazmat/backends/openssl/ciphers.py index a34dcbe6ce1a..64c4690540fc 100644 --- a/src/cryptography/hazmat/backends/openssl/ciphers.py +++ b/src/cryptography/hazmat/backends/openssl/ciphers.py @@ -149,8 +149,9 @@ def update_into(self, data: bytes, buf: bytes) -> int: total_data_len = len(data) if len(buf) < (total_data_len + self._block_size_bytes - 1): raise ValueError( - "buffer must be at least {} bytes for this " - "payload".format(len(data) + self._block_size_bytes - 1) + "buffer must be at least {} bytes for this payload".format( + len(data) + self._block_size_bytes - 1 + ) ) data_processed = 0