🎨 Lint fixes

This commit is contained in:
Nikhil Badyal
2025-03-19 23:20:28 +05:30
parent 4e5c7da298
commit af61d0f7af
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -241,7 +241,7 @@ def contains_any_word(string: str, words: list[str]) -> bool:
def datetime_to_ms_epoch(dt: datetime) -> int:
"""Returns millis since epoch."""
microseconds = time.mktime(dt.timetuple()) * 1000000 + dt.microsecond
return int(round(microseconds / float(1000)))
return round(microseconds / float(1000))
def load_older_updates(env: Env) -> dict[str, Any]: