Skip to content

Commit bb1599f

Browse files
committed
chore: silence some mypy errors
1 parent a9e9c02 commit bb1599f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/core/src/robotcode/core/utils/glob_path.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,9 @@ def _is_hidden(entry: os.DirEntry[str]) -> bool:
101101
if entry.name.startswith("."):
102102
return True
103103

104-
if os.name == "nt" and (entry.stat().st_file_attributes & 2 != 0 or entry.name.startswith("$")):
104+
if os.name == "nt" and (
105+
entry.stat().st_file_attributesa & 2 != 0 or entry.name.startswith("$") # type: ignore[attr-defined]
106+
):
105107
return True
106108

107109
return False

0 commit comments

Comments
 (0)