Skip to content

Commit

Permalink
Merge branch 'master' into tox_pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxymVlasov authored Jan 13, 2025
2 parents 7122191 + 5181957 commit 2713023
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pre_commit_terraform/terraform_docs_replace.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def invoke_cli_app(parsed_cli_args: Namespace) -> ReturnCodeType:
category=UserWarning,
)

dirs = []
dirs: list[str] = []
for filename in cast_to(list[str], parsed_cli_args.filenames):
if (os.path.realpath(filename) not in dirs and
(filename.endswith(".tf") or filename.endswith(".tfvars"))):
Expand Down

0 comments on commit 2713023

Please sign in to comment.