Skip to content

Commit 9206bca

Browse files
committed
UP032 - Use f-string instead of format call
1 parent b95c7ed commit 9206bca

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
@@ -74,7 +74,7 @@ def invoke_cli_app(parsed_cli_args: Namespace) -> ReturnCodeType:
7474
procArgs.extend(
7575
(
7676
'md',
77-
'./{dir}'.format(dir=dir),
77+
f'./{dir}',
7878
'>',
7979
'./{dir}/{dest}'.format(
8080
dir=dir,

0 commit comments

Comments
 (0)