Skip to content

Commit f2bc14a

Browse files
committed
style: move 'for' to a new line in comprehension for PEP8 compliance
1 parent 3904124 commit f2bc14a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tfinance/stock.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ def get_all_stocks():
5757
{
5858
"symbol": i.get("symbol"),
5959
"name": i.get("name"),
60-
} for i in stocks
60+
}
61+
for i in stocks
6162
]
6263
save_stocks("stocks.json", stocks)
6364

0 commit comments

Comments
 (0)