Skip to content

Commit

Permalink
build(typing): add missing type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
sisp authored and yajo committed Oct 8, 2023
1 parent 1196644 commit c015b05
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion copier/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"""

import sys
from os import PathLike
from pathlib import Path
from textwrap import dedent

Expand Down Expand Up @@ -108,7 +109,7 @@ class CopierApp(cli.Application):
class _Subcommand(cli.Application):
"""Base class for Copier subcommands."""

def __init__(self, executable):
def __init__(self, executable: PathLike) -> None:
self.data: AnyByStrDict = {}
super().__init__(executable)

Expand Down

0 comments on commit c015b05

Please sign in to comment.