]> git.ipfire.org Git - thirdparty/bind9.git/commit
Clean up imports of dnspython modules
authorŠtěpán Balážik <stepan@isc.org>
Mon, 9 Feb 2026 18:22:44 +0000 (19:22 +0100)
committerŠtěpán Balážik <stepan@isc.org>
Wed, 25 Feb 2026 12:33:25 +0000 (13:33 +0100)
commitc04b9251aa3ca10ba6cd413647cea2d65e678c87
tree6e6531a17d43ecb6486c3f1a278b2074e7a2edd3
parent963ef9cb8e125305f08d009a976061bd8fd5a586
Clean up imports of dnspython modules

Add a pylint plugin that enforces:
  - There is no bare `import dns` statement.
  - All `dns.<module>` used are explicitly imported.
  - There are no unused `dns.<module>` imports.

Fix all the imports to conform with this check.

(cherry picked from commit d3186c70386040b2f51c08e73f1b850c1a2bcbf1)
50 files changed:
bin/tests/system/bailiwick/tests_bailiwick.py
bin/tests/system/checkds/tests_checkds.py
bin/tests/system/cipher-suites/tests_cipher_suites.py
bin/tests/system/database/tests_database.py
bin/tests/system/dialup/tests_dialup_zone_transfer.py
bin/tests/system/digdelv/ans7/ans.py
bin/tests/system/dns_import_checker.py [new file with mode: 0644]
bin/tests/system/dnssec-malformed-dnskey/tests_malformed_dnskey.py
bin/tests/system/dnstap/tests_dnstap.py
bin/tests/system/doth/tests_gnutls.py
bin/tests/system/dsdigest/tests_dsdigest.py
bin/tests/system/filters/common.py
bin/tests/system/filters/tests_filter_aaaa_v4.py
bin/tests/system/glue/tests_glue.py
bin/tests/system/isctest/asyncserver.py
bin/tests/system/isctest/check.py
bin/tests/system/isctest/hypothesis/strategies.py
bin/tests/system/isctest/instance.py
bin/tests/system/isctest/kasp.py
bin/tests/system/isctest/query.py
bin/tests/system/isctest/util.py
bin/tests/system/kasp/tests_kasp.py
bin/tests/system/limits/tests_limits.py
bin/tests/system/migrate2kasp/tests_migrate2kasp.py
bin/tests/system/multisigner/tests_multisigner.py
bin/tests/system/nsec3-answer/tests_nsec3.py
bin/tests/system/nsec3/common.py
bin/tests/system/nsec3/tests_nsec3_change.py
bin/tests/system/nsec3/tests_nsec3_initial.py
bin/tests/system/nsec3/tests_nsec3_reconfig.py
bin/tests/system/nsec3/tests_nsec3_restart.py
bin/tests/system/nsec3/tests_nsec3_retransfer.py
bin/tests/system/optout/tests_optout.py
bin/tests/system/qmin/ans2/ans.py
bin/tests/system/rollover-multisigner/tests_rollover_multisigner.py
bin/tests/system/rpzextra/tests_rpzextra.py
bin/tests/system/selftest/tests_zone_analyzer.py
bin/tests/system/shutdown/tests_shutdown.py
bin/tests/system/sortlist/tests_sortlist.py
bin/tests/system/statschannel/generic.py
bin/tests/system/stress/tests_stress_update.py
bin/tests/system/stub/tests_stub.py
bin/tests/system/tcp/tests_tcp.py
bin/tests/system/timeouts/tests_tcp_timeouts.py
bin/tests/system/tsig/tests_badtime.py
bin/tests/system/tsiggss/tests_isc_spnego_flaws.py
bin/tests/system/wildcard/tests_wildcard.py
bin/tests/system/xfer/tests_xfer.py
bin/tests/system/xferquota/tests_xferquota.py
pyproject.toml