]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Remove unused imports
authorŠtěpán Balážik <stepan@isc.org>
Mon, 9 Feb 2026 13:42:48 +0000 (14:42 +0100)
committerŠtěpán Balážik <stepan@isc.org>
Wed, 25 Feb 2026 12:33:25 +0000 (13:33 +0100)
Generated with: ruff check --extend-select F401 --fix

(cherry picked from commit b00f16f0269bf8b27b8aa6af17f5b1705b6d9b48)

bin/tests/system/isctest/log/basic.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_reload.py
bin/tests/system/nsec3/tests_nsec3_restart.py
bin/tests/system/nsec3/tests_nsec3_retransfer.py
bin/tests/system/rollover-multisigner/tests_rollover_multisigner.py
pyproject.toml

index 89201f61c7185a328a0662aa32a7a1d3d684f75d..762741f5710b97c7385eb082ecb195b3e99be57b 100644 (file)
@@ -10,7 +10,6 @@
 # information regarding copyright ownership.
 
 from pathlib import Path
-from typing import Dict, Optional
 
 import logging
 import textwrap
index 195925092a27c8e3ca1a704654fb52b9ee0fb33d..c8d2dcd42c78d35dd2c2e7824aa6d597e844502f 100644 (file)
@@ -11,7 +11,6 @@
 
 # pylint: disable=redefined-outer-name,unused-import
 
-import os
 import shutil
 import time
 
@@ -19,8 +18,8 @@ import dns
 import dns.update
 import pytest
 
-from isctest.vars.algorithms import RSASHA1, Algorithm
-from nsec3.common import NSEC3_MARK, check_nsec3_case, default_config
+from isctest.vars.algorithms import Algorithm
+from nsec3.common import NSEC3_MARK, check_nsec3_case
 
 import isctest
 import isctest.mark
index ce95260f601a906a0047743805e396234bf89bb8..aacdfbb435e21360dbda08156cd183421905f7ab 100644 (file)
@@ -18,7 +18,7 @@ import dns.update
 import pytest
 
 from isctest.vars.algorithms import RSASHA1, Algorithm
-from nsec3.common import NSEC3_MARK, check_nsec3_case, default_config
+from nsec3.common import NSEC3_MARK, check_nsec3_case
 
 import isctest
 import isctest.mark
index 6cf85d65667e408024556ef8ee5e6f184ac4427d..e9aa7a6fd44756744969f1881589b0bd0e50f28a 100644 (file)
@@ -12,7 +12,6 @@
 # pylint: disable=redefined-outer-name,unused-import
 
 import os
-import shutil
 import time
 
 import dns
@@ -20,7 +19,7 @@ import dns.update
 import pytest
 
 from isctest.vars.algorithms import RSASHA1, Algorithm
-from nsec3.common import NSEC3_MARK, check_nsec3_case, default_config
+from nsec3.common import NSEC3_MARK, check_nsec3_case
 
 import isctest
 import isctest.mark
index bd720c87f15bbab4945d3601bc98b2ba93acccd8..920a84c31179e8bc5df13311bbf0dace7b1c56b1 100644 (file)
 
 # pylint: disable=redefined-outer-name,unused-import
 
-import os
 import shutil
-import time
-
-import dns
-import pytest
 
 from nsec3.common import NSEC3_MARK, check_nsec3_case
 
index 85913c34e05a26989ecbf36f4567226ba23dd5e5..50b67aaef4b36e0d6e5846fc880bac632d52c31f 100644 (file)
@@ -18,7 +18,7 @@ import dns.update
 import pytest
 
 from isctest.vars.algorithms import Algorithm
-from nsec3.common import NSEC3_MARK, check_nsec3_case, check_nsec3param, default_config
+from nsec3.common import NSEC3_MARK, check_nsec3_case, check_nsec3param
 
 import isctest
 import isctest.mark
index 0651ecf5adae49ff2fbccc0f1cd4f8f7efca68c8..83c4275ecb777483cbf835af78bcd2a6356d652a 100644 (file)
 from datetime import timedelta
 
 import os
-import shutil
 
 import dns
 import dns.update
-import pytest
 
 from isctest.vars.algorithms import RSASHA256
 from nsec3.common import NSEC3_MARK, check_auth_nsec3, check_nsec3param
index d59e005c6d2812c998ff006c3deacad9d13c0152..f1ec60bec2e470996e852b1e06cbfef22c020551 100644 (file)
@@ -17,7 +17,6 @@ import os
 
 import dns
 import dns.update
-import pytest
 
 from isctest.kasp import Iret
 from isctest.run import EnvCmd
index 6a8dc81bbe632fd83031d5f91b1eca596786b2a5..51beb6bef8a05ae77dc4afb5e82615e20a8f2612 100644 (file)
@@ -92,6 +92,8 @@ target-version = "py310"
 lint.select = [
   # import order
   "I",
+  # unused imports
+  "F401",
   # sorted __all__
   "RUF022",
   # f-strings