Skip to content

Commit 6cb91e4

Browse files
committed
Fix lint check
1 parent 2e3fbf6 commit 6cb91e4

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pkg-py/tests/playwright/chat/shiny_output/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def map():
2222

2323
chat = Chat(id="chat")
2424

25-
chat.ui(messages=[map_ui]) # type: ignore[reportArgumentType]
25+
chat.ui(messages=[map_ui])
2626

2727
with ui.hold() as df_1:
2828

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,8 @@ ignore = [
140140
"A001", # Variable shadowing Python builtin, e.g. `input`
141141
"A002", # Argument shadowing Python builtin, e.g. `id`
142142
"A004", # Import shadowing Python builtin, e.g. `input`
143-
"E501"
143+
"E501",
144+
"PLC0415", # Import outside top-level
144145
]
145146

146147
# Allow fix for all enabled rules (when `--fix`) is provided.

0 commit comments

Comments
 (0)