From: Bob Halley Date: Sun, 8 Mar 2026 13:34:57 +0000 (-0700) Subject: misc black formatting lint X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d96c8d662fcd85440644033b97b19a29049f511;p=thirdparty%2Fdnspython.git misc black formatting lint --- diff --git a/dns/rdata.py b/dns/rdata.py index 9d2bae49..ecce77a4 100644 --- a/dns/rdata.py +++ b/dns/rdata.py @@ -16,6 +16,7 @@ # OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. """DNS rdata.""" + import base64 import binascii import dataclasses diff --git a/dns/rdataset.py b/dns/rdataset.py index 46274bdf..3d5c3372 100644 --- a/dns/rdataset.py +++ b/dns/rdataset.py @@ -16,6 +16,7 @@ # OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. """DNS rdatasets (an rdataset is a set of rdatas of a given type and class)""" + import dataclasses import io import random diff --git a/dns/zone.py b/dns/zone.py index 62df90a3..13fbb40e 100644 --- a/dns/zone.py +++ b/dns/zone.py @@ -16,6 +16,7 @@ # OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. """DNS Zones.""" + import contextlib import dataclasses import io diff --git a/tests/test_zone.py b/tests/test_zone.py index 452c2c9e..c5dfa331 100644 --- a/tests/test_zone.py +++ b/tests/test_zone.py @@ -168,9 +168,7 @@ $ORIGIN example. """ include_text = """$INCLUDE "%s" -""" % here( - "example" -) +""" % here("example") bad_directive_text = """$FOO bar $ORIGIN example.