Skip to content

Commit e49304c

Browse files
committed
Add missing return type annotation
1 parent 628df91 commit e49304c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hermes/commands/harvest/file_exists.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ def _filter_files(self, files_tags: Dict[Path, Set[str]]) -> Dict[Path, Set[str]
276276
return {path: tags for path, tags in files_tags.items() if tags}
277277

278278

279-
def _path_matches_pattern(path: Path, pattern: str):
279+
def _path_matches_pattern(path: Path, pattern: str) -> bool:
280280
"""Case-insensitive path matching.
281281
282282
Python 3.12 introduces the ``case_sensitive`` kwarg to the ``match`` function. For

0 commit comments

Comments
 (0)