From 2e3274a5a47819ca651bc183bad8443a5c79d3c7 Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Sat, 22 Apr 2023 10:05:37 -0400 Subject: Fix argument handling for command --- poetry_plugin_taskipy/plugin.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'poetry_plugin_taskipy/plugin.py') diff --git a/poetry_plugin_taskipy/plugin.py b/poetry_plugin_taskipy/plugin.py index afd8d67..bb87bd2 100644 --- a/poetry_plugin_taskipy/plugin.py +++ b/poetry_plugin_taskipy/plugin.py @@ -1,4 +1,3 @@ -from poetry.console.commands.command import Command from poetry.plugins.application_plugin import ApplicationPlugin from poetry_plugin_taskipy.commands import TaskipyCommand @@ -6,5 +5,5 @@ from poetry_plugin_taskipy.commands import TaskipyCommand class TaskipyPlugin(ApplicationPlugin): @property - def commands(self) -> list[type[Command]]: + def commands(self): return [TaskipyCommand] -- cgit v1.2.3