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 1c9823e commit 5181957Copy full SHA for 5181957
src/pre_commit_terraform/terraform_docs_replace.py
@@ -49,7 +49,7 @@ def invoke_cli_app(parsed_cli_args: Namespace) -> ReturnCodeType:
49
category=UserWarning,
50
)
51
52
- dirs = []
+ dirs: list[str] = []
53
for filename in cast_to(list[str], parsed_cli_args.filenames):
54
if (os.path.realpath(filename) not in dirs and
55
(filename.endswith(".tf") or filename.endswith(".tfvars"))):
0 commit comments