From 938e40086563cf560e1fe105d616e91fa8821c9b Mon Sep 17 00:00:00 2001 From: alexAubin <4533074+alexAubin@users.noreply.github.com> Date: Thu, 8 Aug 2024 18:36:00 +0000 Subject: [PATCH] :art: Format Python code with Black --- src/dns.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/dns.py b/src/dns.py index 09cd25c8e..c6a9036a5 100644 --- a/src/dns.py +++ b/src/dns.py @@ -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}" )