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 e1d81e6 commit 91eaf67Copy full SHA for 91eaf67
1 file changed
src/pre_commit_terraform/terraform_docs_replace.py
@@ -12,6 +12,7 @@
12
13
14
def populate_argument_parser(subcommand_parser: ArgumentParser) -> None:
15
+ """Populate the parser for the subcommand."""
16
subcommand_parser.description = (
17
'Run terraform-docs on a set of files. Follows the standard '
18
'convention of pulling the documentation from main.tf in order to '
@@ -47,6 +48,11 @@ def populate_argument_parser(subcommand_parser: ArgumentParser) -> None:
47
48
49
50
def invoke_cli_app(parsed_cli_args: Namespace) -> ReturnCodeType:
51
+ """Run the entry-point of the CLI app.
52
+
53
+ Returns:
54
+ ReturnCodeType: The return code of the app.
55
+ """
56
warnings.warn(
57
'`terraform_docs_replace` hook is DEPRECATED.'
58
'For migration instructions see '
0 commit comments