Skip to content

Commit 175d35e

Browse files
committed
style: reformat with ruff
1 parent 9e7d2b1 commit 175d35e

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

config/settings.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,14 @@
88
assert YAHOO_API_KEY, "YAHOO_API_KEY environment variable is not set"
99

1010
ALLOWED_HOSTS: list[str] = os.getenv("ALLOWED_HOSTS", "").split(",")
11-
assert ALLOWED_HOSTS and all(ALLOWED_HOSTS), "ALLOWED_HOSTS environment variable is not set"
11+
assert ALLOWED_HOSTS and all(ALLOWED_HOSTS), (
12+
"ALLOWED_HOSTS environment variable is not set"
13+
)
1214

1315
ALLOW_ORIGINS: list[str] = os.getenv("ALLOW_ORIGINS", "").split(",")
14-
assert ALLOW_ORIGINS and all(ALLOW_ORIGINS), "ALLOW_ORIGINS environment variable is not set"
16+
assert ALLOW_ORIGINS and all(ALLOW_ORIGINS), (
17+
"ALLOW_ORIGINS environment variable is not set"
18+
)
1519

1620
X_API_KEY: str = os.getenv("X_API_KEY", "")
1721
assert X_API_KEY, "X_API_KEY environment variable is not set"

0 commit comments

Comments
 (0)