Skip to content

Commit

Permalink
fix(analyzers): use recursive glob setting
Browse files Browse the repository at this point in the history
  • Loading branch information
d-cheholia authored Feb 8, 2024
1 parent f6abf90 commit 8db4db9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion universum/analyzers/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def expand_files_argument(settings: argparse.Namespace) -> None:
# TODO: subclass argparse.Action
result: Set[str] = set()
for pattern in settings.file_list:
file_list: List[str] = glob.glob(pattern)
file_list: List[str] = glob.glob(pattern, recursive=True)
if not file_list:
sys.stderr.write(f"Warning: no files found for input pattern {pattern}\n")
else:
Expand Down

0 comments on commit 8db4db9

Please sign in to comment.