Skip to content

Commit

Permalink
reformat code
Browse files Browse the repository at this point in the history
this matches both ruff and black style
  • Loading branch information
alex authored Oct 25, 2023
1 parent 0acc90d commit ee5e7c1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/cryptography/hazmat/backends/openssl/ciphers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ee5e7c1

Please sign in to comment.