]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
formatting lint
authorBob Halley <halley@dnspython.org>
Thu, 28 Dec 2023 19:19:37 +0000 (11:19 -0800)
committerBob Halley <halley@dnspython.org>
Thu, 28 Dec 2023 19:19:37 +0000 (11:19 -0800)
dns/quic/__init__.py
dns/rdata.py
dns/rdtypes/txtbase.py
dns/rrset.py

index 69813f9f18cc28eac706225187fb93c342aed95b..d9eee7b50f5d4e1255a44b3665a2cccce893b09b 100644 (file)
@@ -17,7 +17,7 @@ try:
 
     def null_factory(
         *args,  # pylint: disable=unused-argument
-        **kwargs  # pylint: disable=unused-argument
+        **kwargs,  # pylint: disable=unused-argument
     ):
         return NullContext(None)
 
index 5482e71dc17eb0992e790cfc3a594658483f5253..7ed07dcb70533309fa17c1fd6459c49dd99f209d 100644 (file)
@@ -199,7 +199,7 @@ class Rdata:
         self,
         origin: Optional[dns.name.Name] = None,
         relativize: bool = True,
-        **kw: Dict[str, Any]
+        **kw: Dict[str, Any],
     ) -> str:
         """Convert an rdata to text format.
 
@@ -617,7 +617,7 @@ class GenericRdata(Rdata):
         self,
         origin: Optional[dns.name.Name] = None,
         relativize: bool = True,
-        **kw: Dict[str, Any]
+        **kw: Dict[str, Any],
     ) -> str:
         return r"\# %d " % len(self.data) + _hexify(self.data, **kw)
 
index cdfcc31c79a2bf078bad34052521a25d78f625cc..d18176454f7c0197da488999c329ae82d50123a3 100644 (file)
@@ -56,7 +56,7 @@ class TXTBase(dns.rdata.Rdata):
         self,
         origin: Optional[dns.name.Name] = None,
         relativize: bool = True,
-        **kw: Dict[str, Any]
+        **kw: Dict[str, Any],
     ) -> str:
         txt = ""
         prefix = ""
index 350de13e3be21f1e5117a49bed800d932b952f87..29e5ba0db52fd50cd27e96edfcb8a912f8422d7c 100644 (file)
@@ -132,7 +132,7 @@ class RRset(dns.rdataset.Rdataset):
         self,
         origin: Optional[dns.name.Name] = None,
         relativize: bool = True,
-        **kw: Dict[str, Any]
+        **kw: Dict[str, Any],
     ) -> str:
         """Convert the RRset into DNS zone file format.
 
@@ -159,7 +159,7 @@ class RRset(dns.rdataset.Rdataset):
         file: Any,
         compress: Optional[dns.name.CompressType] = None,  # type: ignore
         origin: Optional[dns.name.Name] = None,
-        **kw: Dict[str, Any]
+        **kw: Dict[str, Any],
     ) -> int:
         """Convert the RRset to wire format.
 
@@ -231,7 +231,7 @@ def from_text(
     ttl: int,
     rdclass: Union[dns.rdataclass.RdataClass, str],
     rdtype: Union[dns.rdatatype.RdataType, str],
-    *text_rdatas: Any
+    *text_rdatas: Any,
 ) -> RRset:
     """Create an RRset with the specified name, TTL, class, and type and with
     the specified rdatas in text format.