From a2b3b609f875262e53fb6c8a28b0a97701c09d87 Mon Sep 17 00:00:00 2001 From: NateScarlet Date: Fri, 9 Dec 2022 19:12:25 +0800 Subject: [PATCH] chore: run formatter --- scripts/filetools.py | 2 +- scripts/update.py | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/filetools.py b/scripts/filetools.py index 7564303..8802d76 100644 --- a/scripts/filetools.py +++ b/scripts/filetools.py @@ -4,7 +4,7 @@ import os __dirname__ = os.path.abspath(os.path.dirname(__file__)) + def workspace_path(*other): return os.path.join(os.path.dirname(__dirname__), *other) - diff --git a/scripts/update.py b/scripts/update.py index 0297a5e..748cb08 100644 --- a/scripts/update.py +++ b/scripts/update.py @@ -31,8 +31,6 @@ class ChinaTimezone(tzinfo): return timedelta() - - def update_data(year: int) -> Iterator[str]: """Update and store data for a year."""