Skip to content

Commit 38476a3

Browse files
authored
Merge branch 'rewrite_hooks_on_python' into bugfixes/hooks-cfg-packaging-access
2 parents f5157cd + aa71534 commit 38476a3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/pre_commit_terraform/_cli_parsing.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ def attach_subcommand_parsers_to(root_cli_parser: ArgumentParser, /) -> None:
2222
required=True,
2323
)
2424
for subcommand_module in SUBCOMMAND_MODULES:
25-
replace_docs_parser = subcommand_parsers.add_parser(subcommand_module.CLI_SUBCOMMAND_NAME)
26-
replace_docs_parser.set_defaults(
25+
subcommand_parser = subcommand_parsers.add_parser(subcommand_module.CLI_SUBCOMMAND_NAME)
26+
subcommand_parser.set_defaults(
2727
invoke_cli_app=subcommand_module.invoke_cli_app,
2828
)
29-
subcommand_module.populate_argument_parser(replace_docs_parser)
29+
subcommand_module.populate_argument_parser(subcommand_parser)
3030

3131

3232
def initialize_argument_parser() -> ArgumentParser:

0 commit comments

Comments
 (0)