Skip to content

Commit

Permalink
Match arbitrarily nested spec files
Browse files Browse the repository at this point in the history
  • Loading branch information
KSmanis committed May 8, 2021
1 parent d86c8f1 commit 5b59b4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipautocompile/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def _find_spec_files(
path: Union[str, os.PathLike] = ".",
patterns: Iterable[str] = (
"**/requirements.in",
"**/requirements/*.in",
"**/requirements/**/*.in",
),
) -> List[Path]:
return sorted(s for p in patterns for s in Path(path).glob(p) if s.is_file())
Expand Down

0 comments on commit 5b59b4b

Please sign in to comment.