Skip to content

Commit

Permalink
fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 committed Sep 9, 2023
1 parent d239933 commit 25f0dc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jupyter_core/paths.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,8 +392,8 @@ def is_file_hidden_win(abs_path: str, stat_res: Optional[Any] = None) -> bool:

try:
if (
stat_res.st_file_attributes
& stat.FILE_ATTRIBUTE_HIDDEN # type:ignore[attr-defined, union-attr]
stat_res.st_file_attributes # type:ignore[attr-defined, union-attr]
& stat.FILE_ATTRIBUTE_HIDDEN
):
return True
except AttributeError:
Expand Down

0 comments on commit 25f0dc1

Please sign in to comment.