Skip to content

Commit 5181957

Browse files
authored
chore(mypy): Fix type annotation (#751)
1 parent 1c9823e commit 5181957

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pre_commit_terraform/terraform_docs_replace.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def invoke_cli_app(parsed_cli_args: Namespace) -> ReturnCodeType:
4949
category=UserWarning,
5050
)
5151

52-
dirs = []
52+
dirs: list[str] = []
5353
for filename in cast_to(list[str], parsed_cli_args.filenames):
5454
if (os.path.realpath(filename) not in dirs and
5555
(filename.endswith(".tf") or filename.endswith(".tfvars"))):

0 commit comments

Comments
 (0)