From 7f2c78ba97bfa4af04aaad5e1310be34c4c73d32 Mon Sep 17 00:00:00 2001 From: patdyn Date: Thu, 27 Jun 2024 11:41:42 +0200 Subject: [PATCH] Remove unused import, arguments --- .../ddadevops/domain/provider_tf_backend_git.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/python/ddadevops/domain/provider_tf_backend_git.py b/src/main/python/ddadevops/domain/provider_tf_backend_git.py index db93fda..4f450f8 100644 --- a/src/main/python/ddadevops/domain/provider_tf_backend_git.py +++ b/src/main/python/ddadevops/domain/provider_tf_backend_git.py @@ -1,4 +1,4 @@ -from typing import List, Dict, Set, Any +from typing import List, Dict, Any from .common import Validateable, CredentialMappingDefault class TerraformBackendGit(Validateable, CredentialMappingDefault): @@ -29,11 +29,11 @@ class TerraformBackendGit(Validateable, CredentialMappingDefault): # See: https://developer.hashicorp.com/terraform/language/settings/backends/configuration#command-line-key-value-pairs # and https://github.com/plumber-cd/terraform-backend-git?tab=readme-ov-file#standalone-terraform-http-backend-mode def backend_config(self) -> Dict[str, Any]: - return { - "address": self.__make_http_backend_address__(self.git_backend_repo, self.git_backend_ref, self.git_backend_state), - "lock_address": self.__make_http_backend_address__(self.git_backend_repo, self.git_backend_ref, self.git_backend_state), - "unlock_address": self.__make_http_backend_address__(self.git_backend_repo, self.git_backend_ref, self.git_backend_state), - } + return { + "address": self.__make_http_backend_address__(), + "lock_address": self.__make_http_backend_address__(), + "unlock_address": self.__make_http_backend_address__(), + } def resources_from_package(self) -> List[str]: return {"tf_backend_git_backend.tf", "tf_backend_git_backend_vars.tf"}