We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1681e1 commit ffd4d63Copy full SHA for ffd4d63
tests/util.py
@@ -6,4 +6,4 @@
6
7
def templates_matching(pattern: str) -> list[Path]:
8
"""Return a list of relative file paths matching the given pattern."""
9
- return list(COOKIECUTTER_FOLDER.glob(pattern))
+ return [path.relative_to(COOKIECUTTER_FOLDER) for path in COOKIECUTTER_FOLDER.glob(pattern)]
0 commit comments