fix: [flake8] Addressed flake8 warnings.

This commit is contained in:
Cédric Bonhomme 2022-11-20 21:49:02 +01:00
parent 0f8b0cef1f
commit fb4b596726
No known key found for this signature in database
GPG key ID: A1CB94DE57B7A70D
8 changed files with 17 additions and 13 deletions

View file

@ -209,7 +209,9 @@ class Revealer:
raise IndexError("Impossible to detect message.")
if len(self._bitab) - len(str(self._limit)) - 1 == self._limit:
self.secret_message = "".join(self._bitab)[len(str(self._limit)) + 1 :]
self.secret_message = "".join(self._bitab)[
len(str(self._limit)) + 1 : # noqa: E203
]
self.encoded_image.close()
return True