Skip to content

Commit 4e87056

Browse files
committed
style: update code format
1 parent ae70913 commit 4e87056

2 files changed

Lines changed: 15 additions & 19 deletions

File tree

example_app.py

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,22 @@
1818

1919
# Example 3: Initialize with custom theme configuration
2020
theme_config = {
21-
"colors": {
22-
"brand": {
23-
"50": "#eff6ff",
24-
"100": "#dbeafe",
25-
"200": "#bfdbfe",
26-
"300": "#93c5fd",
27-
"400": "#60a5fa",
28-
"500": "#3b82f6",
29-
"600": "#2563eb",
30-
"700": "#1d4ed8",
31-
"800": "#1e40af",
32-
"900": "#1e3a8a"
21+
'colors': {
22+
'brand': {
23+
'50': '#eff6ff',
24+
'100': '#dbeafe',
25+
'200': '#bfdbfe',
26+
'300': '#93c5fd',
27+
'400': '#60a5fa',
28+
'500': '#3b82f6',
29+
'600': '#2563eb',
30+
'700': '#1d4ed8',
31+
'800': '#1e40af',
32+
'900': '#1e3a8a',
3333
}
3434
}
3535
}
36-
setup_tailwindcss_plugin(mode="offline", tailwind_theme_config=theme_config)
36+
setup_tailwindcss_plugin(mode='offline', tailwind_theme_config=theme_config)
3737

3838
# Example 4: Initialize with download_node option
3939
# setup_tailwindcss_plugin(mode="offline", download_node=True, node_version="18.17.0")
@@ -138,4 +138,4 @@ def update_output(value):
138138
if __name__ == '__main__':
139139
print('Starting Dash app with TailwindCSS plugin...')
140140
print('Access the app at http://127.0.0.1:8050')
141-
app.run(debug=True)
141+
app.run(debug=True)

tests/test_plugin.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -357,11 +357,7 @@ def test_plugin_with_custom_plugin_tmp_dir(self):
357357

358358
def test_plugin_with_skip_build_parameters(self):
359359
"""Test plugin initialization with skip build parameters."""
360-
plugin = _TailwindCSSPlugin(
361-
mode='offline',
362-
skip_build_if_recent=False,
363-
skip_build_time_threshold=10
364-
)
360+
plugin = _TailwindCSSPlugin(mode='offline', skip_build_if_recent=False, skip_build_time_threshold=10)
365361

366362
assert plugin.skip_build_if_recent is False
367363
assert plugin.skip_build_time_threshold == 10

0 commit comments

Comments
 (0)