File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
pkg-py/tests/playwright/chat/shiny_output Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 3
3
import plotly .express as px # pyright: ignore[reportMissingTypeStubs]
4
4
from shiny import reactive , render
5
5
from shiny .express import ui
6
- from shinywidgets import render_plotly , render_widget
7
-
8
6
from shinychat .express import Chat
7
+ from shinywidgets import render_plotly , render_widget
9
8
10
9
ui .page_opts (
11
10
title = "Hello output bindings in Chat" ,
@@ -22,7 +21,7 @@ def map():
22
21
23
22
chat = Chat (id = "chat" )
24
23
25
- chat .ui (messages = [map_ui ]) # type: ignore[reportArgumentType]
24
+ chat .ui (messages = [map_ui ])
26
25
27
26
with ui .hold () as df_1 :
28
27
Original file line number Diff line number Diff line change @@ -140,7 +140,8 @@ ignore = [
140
140
" A001" , # Variable shadowing Python builtin, e.g. `input`
141
141
" A002" , # Argument shadowing Python builtin, e.g. `id`
142
142
" A004" , # Import shadowing Python builtin, e.g. `input`
143
- " E501"
143
+ " E501" ,
144
+ " PLC0415" , # Import outside top-level
144
145
]
145
146
146
147
# Allow fix for all enabled rules (when `--fix`) is provided.
You can’t perform that action at this time.
0 commit comments