🎨 Format Python code with Black

This commit is contained in:
alexAubin 2024-08-08 18:36:00 +00:00 committed by github-actions[bot]
parent de9980f31e
commit 938e400865

View file

@ -482,7 +482,14 @@ def _get_dns_zone_for_domain(domain):
zone = parent_list[-1]
# Adding this otherwise the CI is flooding about those ...
if domain not in ["example.tld", "sub.example.tld", "domain.tld", "sub.domain.tld", "domain_a.dev", "domain_b.dev"]:
if domain not in [
"example.tld",
"sub.example.tld",
"domain.tld",
"sub.domain.tld",
"domain_a.dev",
"domain_b.dev",
]:
logger.warning(
f"Could not identify correctly the dns zone for domain {domain}, returning {zone}"
)