Skip to content

Commit 1fc21fc

Browse files
committed
address flake8 issues
1 parent 1388794 commit 1fc21fc

File tree

43 files changed

+26
-48
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+26
-48
lines changed

tests/playwright/shiny/tests_for_ai_generated_apps/accordion_panel/app-core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from shiny import App, reactive, render, ui
1+
from shiny import App, render, ui
22

33
# Define the UI
44
app_ui = ui.page_fillable(

tests/playwright/shiny/tests_for_ai_generated_apps/accordion_panel/app-express.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from shiny import reactive
21
from shiny.express import input, render, ui
32

43
# Add Font Awesome CSS in the head section first

tests/playwright/shiny/tests_for_ai_generated_apps/card/app-core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from shiny import App, reactive, render, ui
1+
from shiny import App, render, ui
22

33
# Define the UI
44
app_ui = ui.page_fillable(

tests/playwright/shiny/tests_for_ai_generated_apps/card/app-express.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
from shiny import reactive
2-
from shiny.express import input, render, ui
1+
from shiny.express import render, ui
32

43
# Set page options
54
ui.page_opts(fillable=True)
@@ -20,7 +19,7 @@
2019
"""
2120
This is the main content of the card.
2221
The card has various parameters set including:
23-
22+
2423
* full_screen=True - allows expanding to full screen
2524
* height='300px' - sets fixed height
2625
* fill=True - allows card to grow/shrink

tests/playwright/shiny/tests_for_ai_generated_apps/card_footer/app-core.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from shiny import App, reactive, render, ui
1+
from shiny import App, render, ui
22

33
app_ui = ui.page_fillable(
44
# First card with basic footer
@@ -42,7 +42,6 @@
4242

4343

4444
def server(input, output, session):
45-
@output
4645
@render.text
4746
def click_count():
4847
if not input.btn():

tests/playwright/shiny/tests_for_ai_generated_apps/input_action_button/app-core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from shiny import App, reactive, render, ui
1+
from shiny import App, render, ui
22

33
# Create the UI
44
app_ui = ui.page_fluid(

tests/playwright/shiny/tests_for_ai_generated_apps/input_action_button/app-express.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from shiny import reactive
21
from shiny.express import input, render, ui
32

43
# Add Font Awesome CSS for icons - this needs to be before any UI elements

tests/playwright/shiny/tests_for_ai_generated_apps/input_action_link/app-core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from shiny import App, reactive, render, ui
1+
from shiny import App, render, ui
22

33
# Define the UI
44
app_ui = ui.page_fillable(

tests/playwright/shiny/tests_for_ai_generated_apps/input_action_link/app-express.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from shiny import reactive
21
from shiny.express import input, render, ui
32

43
# Add Font Awesome CSS in the head section

tests/playwright/shiny/tests_for_ai_generated_apps/input_checkbox/app-core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from shiny import App, reactive, render, ui
1+
from shiny import App, render, ui
22

33
# Define the UI
44
app_ui = ui.page_fluid(

0 commit comments

Comments
 (0)