Skip to content

Commit ec79fe2

Browse files
committed
build(typing): ignore untyped decorator using untype-decorator introduced in mypy v1.19.0
1 parent 4b0f7f4 commit ec79fe2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

copier/_cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ def __init__(self, executable: PathLike[str]) -> None:
163163
help="Skip template tasks execution",
164164
)
165165

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

184-
@cli.switch( # type: ignore[misc]
184+
@cli.switch( # type: ignore[untyped-decorator]
185185
["--data-file"],
186186
cli.ExistingFile,
187187
help="Load data from a YAML file",

0 commit comments

Comments
 (0)