From: Bob Halley Date: Thu, 28 Dec 2023 19:12:40 +0000 (-0800) Subject: lint X-Git-Tag: v2.5.0rc1~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7eb39297d45b9c7f82b18a710024b4c3d84de82;p=thirdparty%2Fdnspython.git lint --- diff --git a/dns/zone.py b/dns/zone.py index 9fc82457..d860dbdc 100644 --- a/dns/zone.py +++ b/dns/zone.py @@ -24,7 +24,6 @@ import struct from typing import ( Any, Callable, - Dict, Iterable, Iterator, List, @@ -1098,7 +1097,9 @@ class ImmutableVersion(Version): version.nodes[name] = ImmutableVersionedNode(node) # We're changing the type of the nodes dictionary here on purpose, so # we ignore the mypy error. - self.nodes = dns.immutable.Dict(version.nodes, True, self.zone.map_factory) # type: ignore + self.nodes = dns.immutable.Dict( + version.nodes, True, self.zone.map_factory + ) # type: ignore class Transaction(dns.transaction.Transaction):