Skip to content

Commit f116bd8

Browse files
committed
chore: fix typo in last commit and fix mypy warning on linux
1 parent bb1599f commit f116bd8

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
@@ -1,3 +1,5 @@
1+
# mypy: warn_unused_ignores=false
2+
13
from __future__ import annotations
24

35
import functools
@@ -102,7 +104,7 @@ def _is_hidden(entry: os.DirEntry[str]) -> bool:
102104
return True
103105

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

0 commit comments

Comments
 (0)