Skip to content

Commit c015b05

Browse files
sispyajo
authored andcommitted
build(typing): add missing type hint
1 parent 1196644 commit c015b05

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

copier/cli.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
"""
5151

5252
import sys
53+
from os import PathLike
5354
from pathlib import Path
5455
from textwrap import dedent
5556

@@ -108,7 +109,7 @@ class CopierApp(cli.Application):
108109
class _Subcommand(cli.Application):
109110
"""Base class for Copier subcommands."""
110111

111-
def __init__(self, executable):
112+
def __init__(self, executable: PathLike) -> None:
112113
self.data: AnyByStrDict = {}
113114
super().__init__(executable)
114115

0 commit comments

Comments
 (0)