fix some pylints
This commit is contained in:
parent
382c571d42
commit
124300c271
1 changed files with 4 additions and 4 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue