Resolve linting errors

This commit is contained in:
bom 2023-05-26 08:52:57 +02:00
parent 3b14ce09c9
commit e3703042b0

View file

@ -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 []