Lint Python type signatures using mypy

This commit is contained in:
Ohad Livne 2025-06-04 22:46:05 +03:00
parent e9eb300499
commit 5dcc5621b7
Signed by: libohad-dev
GPG key ID: 34FDC68B51191A4D
2 changed files with 5 additions and 1 deletions

View file

@ -8,7 +8,7 @@ def get_subtree_mtime(root: str | Path) -> float:
from os import walk
from os.path import getmtime
maxtime = 0
maxtime = 0.0
for dirname, _, filenames in walk(root):
dirpath = Path(dirname)