Skip to content

Commit

Permalink
Update src/towncrier/test/helpers.py
Browse files Browse the repository at this point in the history
Co-authored-by: Adi Roiban <[email protected]>
  • Loading branch information
mdellweg and adiroiban authored Nov 9, 2023
1 parent 875df57 commit b486693
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/towncrier/test/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,13 @@ def with_project(
) -> Callable[[Callable[..., Any]], Callable[..., Any]]:
"""Decorator to run a test with an isolated directory containing a simple
project.
Use `config` to tweak the content of the config file.
Use `pyproject_path` to tweak the location of the config file.
The files are not managed by git.
`config` is the content of the config file.
It will be automatically dedented.
`pyproject_path` is the path where to store the config file.
"""

def decorator(fn: Callable[..., Any]) -> Callable[..., Any]:
Expand Down

0 comments on commit b486693

Please sign in to comment.