From 124300c271b286fc1f2da49336883a8911338a94 Mon Sep 17 00:00:00 2001 From: jem Date: Fri, 21 Jan 2022 13:36:42 +0100 Subject: [PATCH] fix some pylints --- python_terraform/terraform.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/python_terraform/terraform.py b/python_terraform/terraform.py index 753f410..bc14ba2 100644 --- a/python_terraform/terraform.py +++ b/python_terraform/terraform.py @@ -467,7 +467,7 @@ class Terraform: """ """ result = [] - + for option, value in kwargs.items(): if "_" in option: option = option.replace("_", "-") @@ -507,10 +507,10 @@ class Terraform: result += [f"-{option}={value}"] return result - + def __exit__(self, exc_type, exc_value, traceback) -> None: self.temp_var_files.clean_up() - + def __getattr__(self, item: str) -> Callable: def wrapper(*args, **kwargs): cmd_name = str(item) @@ -522,7 +522,7 @@ class Terraform: return wrapper - + class VariableFiles: