You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hober.py:16: error: Item "None" of "Optional[DirEntry[str]]" has no attribute "stat" [union-attr]
hober.py:16: error: Invalid self argument "stat_result" to attribute function "st_mtime" with type "Callable[[stat_result], float]" [misc]
Found 2 errors in 1 file (checked 1 source file)
This is likely an issue with mypy's "type context", which infers different types based on the "expected" type. Here it obviously goes wrong, but chances are it's hard to fix it without breaking some other use case.
mypy 0.931
The text was updated successfully, but these errors were encountered: