Include flake8-print plugin

This alerts us of stray print statements, which should never occur
because this is a non-TUI application.
This commit is contained in:
Jonas Schäfer
2022-01-15 17:06:20 +01:00
parent aed9ad1cde
commit d5a46b69a6
3 changed files with 1 additions and 4 deletions

View File

@@ -138,7 +138,6 @@ async def profile() -> typing.Union[str, quart.Response]:
mimetype = file_info.mimetype
data = file_info.stream.read()
if len(data) > max_avatar_size:
print(len(data), max_avatar_size)
form.avatar.errors.append(EAVATARTOOBIG)
ok = False
elif len(data) > 0: