FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
cookiecutter-robust-python/tests/util.py at develop · robust-python/cookiecutter-robust-python · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
robust-python
/
cookiecutter-robust-python
Public
Notifications
You must be signed in to change notification settings
Fork
5
Star
23
Code
Issues
5
Pull requests
0
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
cookiecutter-robust-python
/
tests
/
util.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
9 lines (6 loc) · 357 Bytes
Breadcrumbs
cookiecutter-robust-python
/
tests
/
util.py
Copy path
File metadata and controls
9 lines (6 loc) · 357 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
"""Module containing utility functions used by tests."""
from
pathlib
import
Path
from
tests
.
constants
import
COOKIECUTTER_FOLDER
def
templates_matching
(
pattern
:
str
)
->
list
[
Path
]:
"""Return a list of relative file paths matching the given pattern."""
return
[
path
.
relative_to
(
COOKIECUTTER_FOLDER
)
for
path
in
COOKIECUTTER_FOLDER
.
glob
(
pattern
)]
Back
|
FazBrowse Home
|
New Git URL