Resolve linting errors
This commit is contained in:
parent
3b14ce09c9
commit
e3703042b0
1 changed files with 4 additions and 4 deletions
|
@ -12,15 +12,15 @@ class Hetzner(Validateable, CredentialMappingDefault):
|
||||||
result = []
|
result = []
|
||||||
result += self.__validate_is_not_empty__("hetzner_api_key")
|
result += self.__validate_is_not_empty__("hetzner_api_key")
|
||||||
return result
|
return result
|
||||||
|
|
||||||
def resources_from_package(self) -> Set[str]:
|
def resources_from_package(self) -> Set[str]:
|
||||||
return {"provider_registry.tf", "hetzner_provider.tf", "hetzner_mixin_vars.tf"}
|
return {"provider_registry.tf", "hetzner_provider.tf", "hetzner_mixin_vars.tf"}
|
||||||
|
|
||||||
def project_vars(self):
|
def project_vars(self):
|
||||||
return {
|
return {
|
||||||
"hetzner_api_key": self.hetzner_api_key
|
"hetzner_api_key": self.hetzner_api_key
|
||||||
}
|
}
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def get_mapping_default(cls) -> List[Dict[str, str]]:
|
def get_mapping_default(cls) -> List[Dict[str, str]]:
|
||||||
return []
|
return []
|
||||||
|
|
Loading…
Reference in a new issue