Skip to content

Commit ff969b5

Browse files
committed
Fix.
1 parent 6515955 commit ff969b5

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

src/_pytask/typing.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,6 @@ class TaskFunction(Protocol):
3939

4040
pytask_meta: CollectionMetadata
4141

42-
def __call__(self, *args: Any, **kwargs: Any) -> Any:
43-
"""Call the task function."""
44-
...
45-
4642

4743
@define(frozen=True)
4844
class ProductType:

tests/test_dag_command.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from pytask import cli
1313

1414
try:
15-
import pygraphviz # type: ignore[import-not-found] # noqa: F401
15+
import pygraphviz # ty: ignore[unresolved-import] # noqa: F401
1616
except ImportError: # pragma: no cover
1717
_IS_PYGRAPHVIZ_INSTALLED = False
1818
else:

0 commit comments

Comments
 (0)