Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions copier/_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def __init__(self, executable: PathLike[str]) -> None:
help="Skip template tasks execution",
)

@cli.switch( # type: ignore[misc]
@cli.switch( # type: ignore[untyped-decorator]
["-d", "--data"],
str,
"VARIABLE=VALUE",
Expand All @@ -181,7 +181,7 @@ def data_switch(self, values: Iterable[str]) -> None:
key, value = arg.split("=", 1)
self.data[key] = value

@cli.switch( # type: ignore[misc]
@cli.switch( # type: ignore[untyped-decorator]
["--data-file"],
cli.ExistingFile,
help="Load data from a YAML file",
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ copier = "copier.__main__:CopierApp.run"
dev = [
"codespell[toml]==2.4.1",
"commitizen==4.12.0",
"mypy==1.18.2",
"mypy==1.19.1",
"pexpect==4.9.0",
"poethepoet==0.40.0",
"pre-commit==4.5.1",
Expand Down
Loading
Loading