From de23855d65411b587745510b1c3f237ca7864016 Mon Sep 17 00:00:00 2001 From: patdyn Date: Thu, 27 Jun 2024 11:39:45 +0200 Subject: [PATCH] All upper case TODO --- src/main/python/ddadevops/devops_terraform_build.py | 2 +- src/main/python/ddadevops/domain/provider_tf_backend_git.py | 2 +- src/main/python/ddadevops/domain/terraform.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/python/ddadevops/devops_terraform_build.py b/src/main/python/ddadevops/devops_terraform_build.py index 308f439..ed84b2a 100644 --- a/src/main/python/ddadevops/devops_terraform_build.py +++ b/src/main/python/ddadevops/devops_terraform_build.py @@ -14,7 +14,7 @@ class DevopsTerraformBuild(DevopsBuild): super().__init__(project, inp) project.build_depends_on("dda-python-terraform") self.terraform_service = TerraformService.prod() - # ToDo: we might want to make this private in the future, keeping this for compatibility + # TODO: we might want to make this private in the future, keeping this for compatibility def initialize_build_dir(self): super().initialize_build_dir() devops = self.devops_repo.get_devops(self.project) 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 c6f4190..db93fda 100644 --- a/src/main/python/ddadevops/domain/provider_tf_backend_git.py +++ b/src/main/python/ddadevops/domain/provider_tf_backend_git.py @@ -38,7 +38,7 @@ class TerraformBackendGit(Validateable, CredentialMappingDefault): def resources_from_package(self) -> List[str]: return {"tf_backend_git_backend.tf", "tf_backend_git_backend_vars.tf"} - # ToDo: This can not be used for backend config, as the backend block can not reference vars. + # TODO: This can not be used for backend config, as the backend block can not reference vars. def project_vars(self) -> Dict[str, Any]: return { "http_backend_address": self.__make_http_backend_address__(self.git_backend_ref, self.git_backend_repo, self.git_backend_state) diff --git a/src/main/python/ddadevops/domain/terraform.py b/src/main/python/ddadevops/domain/terraform.py index 631fb66..8c866e0 100644 --- a/src/main/python/ddadevops/domain/terraform.py +++ b/src/main/python/ddadevops/domain/terraform.py @@ -92,8 +92,8 @@ class TerraformDomain(Validateable): def uses_backend_git(self) -> bool: return ProviderType.TERRAFORM_BACKEND_GIT in self.providers.keys() - # ToDo: Add ssh method case and make this default - # ToDo: How do we get to the credentials? + # TODO: Add ssh method case and make this default + # TODO: How do we get to the credentials? def env_credentials(self) -> Dict[str, str]: tf_backend_git = self.providers[ProviderType.TERRAFORM_BACKEND_GIT] if tf_backend_git.git_backend_token != "":