]> git.ipfire.org Git - thirdparty/dnspython.git/commit
Type syntax (#1218)
authorBob Halley <halley@dnspython.org>
Sat, 30 Aug 2025 19:30:41 +0000 (12:30 -0700)
committerGitHub <noreply@github.com>
Sat, 30 Aug 2025 19:30:41 +0000 (12:30 -0700)
commit641633503ee6b07bf382594ac04707072b90de18
tree93d519572b926845a31e76b72bb36b2a8716a5e8
parenta4591447b7d6e38479bcddb14de3b69f314e7009
Type syntax (#1218)

* use | type syntax when possible instead of Optional and Union

* fix other unused-import errors and re-enable F401
40 files changed:
dns/_tls_util.py
dns/asyncquery.py
dns/asyncresolver.py
dns/btree.py
dns/btreezone.py
dns/dnssec.py
dns/dnssecalgs/__init__.py
dns/dnssecalgs/base.py
dns/dnssecalgs/cryptography.py
dns/e164.py
dns/edns.py
dns/entropy.py
dns/enum.py
dns/exception.py
dns/inet.py
dns/ipv4.py
dns/ipv6.py
dns/message.py
dns/name.py
dns/nameserver.py
dns/node.py
dns/query.py
dns/quic/__init__.py
dns/quic/_common.py
dns/rdata.py
dns/rdataset.py
dns/rdtypes/txtbase.py
dns/rdtypes/util.py
dns/resolver.py
dns/rrset.py
dns/tokenizer.py
dns/transaction.py
dns/tsig.py
dns/ttl.py
dns/update.py
dns/versioned.py
dns/xfr.py
dns/zone.py
dns/zonefile.py
pyproject.toml