Skip to content

Commit

Permalink
make error messages more pretty.
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasraabe committed Jul 16, 2023
1 parent d080e6c commit 2490270
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/_pytask/collect_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,10 +219,10 @@ def _merge_dictionaries(list_of_dicts: list[dict[Any, Any]]) -> dict[Any, Any]:
_ERROR_MULTIPLE_DEPENDENCY_DEFINITIONS = """The task uses multiple ways to define \
dependencies. Dependencies should be defined with either
- '@pytask.mark.depends_on'
- as default arguments for the argument 'depends_on'
- '@pytask.mark.depends_on' and a 'depends_on' function argument.
- as default value for the function argument 'depends_on'.
Use only one of the two ways.
Use only one of the two ways!
Hint: You do not need to use 'depends_on' since pytask v0.4. Every function argument \
that is not a product is treated as a dependency. Read more about dependencies in the \
Expand Down

0 comments on commit 2490270

Please sign in to comment.