]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
lint
authorBob Halley <halley@dnspython.org>
Thu, 28 Dec 2023 19:12:40 +0000 (11:12 -0800)
committerBob Halley <halley@dnspython.org>
Thu, 28 Dec 2023 19:12:40 +0000 (11:12 -0800)
dns/zone.py

index 9fc824571a1361e5a9f7102274ab34cced50faf9..d860dbdc6750fcf9c27054c54cc4c0538d4e2b09 100644 (file)
@@ -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):