mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-13 04:15:11 +00:00
Missing annotation, minor
This commit is contained in:
1 parent
30643228d0
commit
a7d3201d33
1 file changed
+1
-1
+1
-1
@@ -621,7 +621,7 @@ class ListDirTool(Tool):
|
||||
:return: a JSON object with the names of directories and files within the given directory
|
||||
"""
|
||||
|
||||
def is_ignored_path(abs_path: str):
|
||||
def is_ignored_path(abs_path: str) -> bool:
|
||||
rel_path = os.path.relpath(abs_path, self.project_root)
|
||||
return self.language_server.is_ignored_path(rel_path, ignore_unsupported_files=False)
|
||||
|
||||
|
||||
Reference in new issue
Block a user