From bf4afbc0a3cc4e847ef01840365fd6a6ae9c142f Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Thu, 2 Apr 2026 15:54:55 +0900 Subject: style: auto-fix lint violations from enhanced ruff rules --- scripts/stock_screener.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/stock_screener.py') diff --git a/scripts/stock_screener.py b/scripts/stock_screener.py index 7a5c0ba..7552aa3 100755 --- a/scripts/stock_screener.py +++ b/scripts/stock_screener.py @@ -16,7 +16,7 @@ import asyncio import json import os import sys -from datetime import datetime, timezone +from datetime import UTC, datetime from pathlib import Path ROOT = Path(__file__).resolve().parents[1] @@ -195,7 +195,7 @@ async def main_async(top_n: int = 5, universe: list[str] | None = None): print("=" * 60) print("Daily Stock Screener — MOC Strategy") - print(f"Date: {datetime.now(timezone.utc).strftime('%Y-%m-%d %H:%M UTC')}") + print(f"Date: {datetime.now(UTC).strftime('%Y-%m-%d %H:%M UTC')}") print(f"Universe: {len(symbols)} stocks") print("=" * 60) -- cgit v1.2.3