Skip to content

Commit 96f3f63

Browse files
committed
ruff weather
1 parent 94343cd commit 96f3f63

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

weatherstack_app/weatherstack_app/components/preset_cards.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import reflex as rx
2+
23
from weatherstack_app.states.weather_state import WeatherState
34

45

weatherstack_app/weatherstack_app/components/weather_display.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import reflex as rx
2+
23
from weatherstack_app.states.weather_state import WeatherState
34

45

weatherstack_app/weatherstack_app/states/weather_state.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1+
from typing import List, TypedDict
2+
13
import reflex as rx
24
import requests
3-
from typing import TypedDict, List, Dict
45

56
WEATHERSTACK_API_KEY = "YOUR_WEATHERSTACK_API_KEY"
67
WEATHERSTACK_API_URL = "http://api.weatherstack.com/current"

weatherstack_app/weatherstack_app/weatherstack_app.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import reflex as rx
2-
from weatherstack_app.states.weather_state import WeatherState
3-
from weatherstack_app.components.weather_display import weather_display
2+
43
from weatherstack_app.components.preset_cards import preset_cards
5-
from rxconfig import config
4+
from weatherstack_app.components.weather_display import weather_display
5+
from weatherstack_app.states.weather_state import WeatherState
66

77

88
def index() -> rx.Component:

0 commit comments

Comments
 (0)