Skip to content

Commit b67ef76

Browse files
lints
1 parent 60b626f commit b67ef76

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

routers/core/user.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ async def update_profile(
116116

117117
# Handle avatar update
118118
if avatar_changed:
119+
assert avatar_file is not None
119120
avatar_data = await avatar_file.read()
120121
avatar_content_type = avatar_file.content_type
121122

tests/browser/test_toast_display.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
99
Also verifies auto-dismiss (~5 s) and manual close via the X button.
1010
"""
11-
import io
1211
import pytest
1312
from PIL import Image
1413
from playwright.sync_api import Page, expect

0 commit comments

Comments
 (0)