Skip to content

Commit 914ec70

Browse files
committed
clear out unneeded Param classes
1 parent d8488ad commit 914ec70

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/warnet/plugin.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
import os
66
import sys
77
import tempfile
8-
from dataclasses import dataclass
9-
from enum import Enum, auto
108
from importlib.metadata import PackageNotFoundError, version
119
from pathlib import Path
1210
from types import ModuleType
@@ -26,25 +24,13 @@
2624
)
2725

2826
# TODO Add inquirer test
29-
# TODO get rid of piping
3027
# TODO iron out input (and test it)
3128

3229

3330
class PluginError(Exception):
3431
pass
3532

3633

37-
class ParamStrategy(Enum):
38-
POSITIONAL = auto()
39-
NAMED = auto()
40-
41-
42-
@dataclass
43-
class Params:
44-
params: list | dict
45-
type: ParamStrategy
46-
47-
4834
hook_registry: set[Callable[..., Any]] = set()
4935
imported_modules: dict[str, ModuleType] = {}
5036

0 commit comments

Comments
 (0)