Skip to content

Commit f175a7b

Browse files
committed
chore(cli): Annotate ConfigPath.convert
1 parent 3facfaa commit f175a7b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/tmuxp/cli/utils.py

+6-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,12 @@ def __init__(
111111
)
112112
self.config_dir = config_dir
113113

114-
def convert(self, value, param, ctx):
114+
def convert(
115+
self,
116+
value: t.Any,
117+
param: t.Optional[click.Parameter],
118+
ctx: t.Optional[click.Context],
119+
) -> t.Any:
115120
config_dir = self.config_dir
116121
if callable(config_dir):
117122
config_dir = config_dir()

0 commit comments

Comments
 (0)