Skip to content

Commit 506ba37

Browse files
committed
fix
1 parent 43f319d commit 506ba37

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/_pytask/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ def build( # noqa: PLR0913
200200
strict_markers : bool, default=False
201201
Raise errors for unknown markers.
202202
tasks : Callable[..., Any] | PTask | Iterable[Callable[..., Any] | PTask]
203-
A task or collection of tasks as callables or [pytask.PTask][] instances.
203+
A task or collection of tasks as callables or [`pytask.PTask`][] instances.
204204
task_files : Iterable[str], default=("task_*.py",)
205205
A pattern to describe modules that contain tasks.
206206
trace : bool, default=False

src/_pytask/collect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ def pytask_collect_task(
407407
def pytask_collect_node( # noqa: C901, PLR0912
408408
session: Session, path: Path, node_info: NodeInfo
409409
) -> PNode | PProvisionalNode:
410-
"""Collect a node of a task as a [pytask.PNode][].
410+
"""Collect a node of a task as a [`pytask.PNode`][].
411411
412412
Strings are assumed to be paths. This might be a strict assumption, but since this
413413
hook is executed at last and possible errors will be shown, it seems reasonable and

src/_pytask/node_protocols.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ class PProvisionalNode(Protocol):
108108
"""A protocol for provisional nodes.
109109
110110
This type of nodes is provisional since it resolves to actual nodes,
111-
[pytask.PNode][], right before a task is executed as a dependency and after the
111+
[`pytask.PNode`][], right before a task is executed as a dependency and after the
112112
task is executed as a product.
113113
114114
Provisional nodes are nodes that define how the actual nodes look like. They can be
@@ -132,7 +132,7 @@ def load(self, is_product: bool = False) -> Any: # pragma: no cover
132132
133133
It is possible to load a provisional node as a dependency so that it can inject
134134
basic information about it in the task. For example,
135-
[pytask.DirectoryNode.load][] injects the root directory.
135+
[`pytask.DirectoryNode.load`][] injects the root directory.
136136
137137
"""
138138
if is_product:

src/_pytask/pluginmanager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ class _PluginManagerStorage:
9292
Afterwards, it needs to be accessed in the different commands.
9393
9494
When pytask is called from the API, the plugin manager needs to be created inside
95-
the function, for example, [pytask.build][] to ensure each call can start from
95+
the function, for example, [`pytask.build`][] to ensure each call can start from
9696
a blank slate and is able to register any plugins.
9797
9898
"""

src/_pytask/provisional_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def collect_provisional_nodes(
3232
) -> PyTree[PNode | PProvisionalNode]:
3333
"""Collect provisional nodes.
3434
35-
1. Call the [pytask.PProvisionalNode.collect][] to receive the raw nodes.
35+
1. Call the [`pytask.PProvisionalNode.collect`][] to receive the raw nodes.
3636
2. Collect the raw nodes as usual.
3737
3838
"""

0 commit comments

Comments
 (0)