Skip to content

Commit 2acadfa

Browse files
committed
FIx.
1 parent 433553a commit 2acadfa

7 files changed

+7
-8
lines changed

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ test = [
7272
"aiohttp", # For HTTPPath tests.
7373
"coiled",
7474
]
75-
typing = ["mypy>=1.9.0,<1.11", "nbqa[mypy]>=1.8.5"]
75+
typing = ["mypy>=1.9.0,<1.11", "nbqa>=1.8.5"]
7676

7777
[project.urls]
7878
Changelog = "https://pytask-dev.readthedocs.io/en/stable/changes.html"

src/_pytask/collect_utils.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -355,8 +355,7 @@ def _collect_product(
355355

356356
def create_name_of_python_node(node_info: NodeInfo) -> str:
357357
"""Create name of PythonNode."""
358-
prefix = node_info.task_name if node_info.task_path else node_info.task_name
359-
node_name = prefix + "::" + node_info.arg_name
358+
node_name = node_info.task_name + "::" + node_info.arg_name
360359
if node_info.path:
361360
suffix = "-".join(map(str, node_info.path))
362361
node_name += "::" + suffix

src/_pytask/logging.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Add general logging capabilities."""
1+
"""Add general logging capabilities.""" # noqa: A005
22

33
from __future__ import annotations
44

src/_pytask/profile.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Contains the code to profile the execution."""
1+
"""Contains the code to profile the execution.""" # noqa: A005
22

33
from __future__ import annotations
44

src/_pytask/traceback.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Process tracebacks."""
1+
"""Process tracebacks.""" # noqa: A005
22

33
from __future__ import annotations
44

src/_pytask/typing.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from __future__ import annotations
1+
from __future__ import annotations # noqa: A005
22

33
import functools
44
from enum import Enum

src/_pytask/warnings.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Contains code for capturing warnings."""
1+
"""Contains code for capturing warnings.""" # noqa: A005
22

33
from __future__ import annotations
44

0 commit comments

Comments
 (0)