Skip to content

Commit

Permalink
formatting lint
Browse files Browse the repository at this point in the history
  • Loading branch information
rthalley committed Dec 28, 2023
1 parent c7eb392 commit d978740
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion dns/quic/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

def null_factory(
*args, # pylint: disable=unused-argument
**kwargs # pylint: disable=unused-argument
**kwargs, # pylint: disable=unused-argument
):
return NullContext(None)

Expand Down
4 changes: 2 additions & 2 deletions dns/rdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def to_text(
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.
Expand Down Expand Up @@ -617,7 +617,7 @@ def to_text(
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)

Expand Down
2 changes: 1 addition & 1 deletion dns/rdtypes/txtbase.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def to_text(
self,
origin: Optional[dns.name.Name] = None,
relativize: bool = True,
**kw: Dict[str, Any]
**kw: Dict[str, Any],
) -> str:
txt = ""
prefix = ""
Expand Down
6 changes: 3 additions & 3 deletions dns/rrset.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def to_text( # type: ignore[override]
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.
Expand All @@ -159,7 +159,7 @@ def to_wire( # type: ignore[override]
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.
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit d978740

Please sign in to comment.