We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24c8201 commit ac9e742Copy full SHA for ac9e742
commitizen/cli.py
@@ -47,17 +47,17 @@ def __call__(
47
self,
48
parser: argparse.ArgumentParser,
49
namespace: argparse.Namespace,
50
- kwarg: object,
+ values: object,
51
option_string: str | None = None,
52
) -> None:
53
- if not isinstance(kwarg, str):
+ if not isinstance(values, str):
54
return
55
- if "=" not in kwarg:
+ if "=" not in values:
56
raise InvalidCommandArgumentError(
57
f"Option {option_string} expect a key=value format"
58
)
59
kwargs = getattr(namespace, self.dest, None) or {}
60
- key, value = kwarg.split("=", 1)
+ key, value = values.split("=", 1)
61
if not key:
62
63
0 commit comments