]> 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>
Fri, 20 Feb 2026 14:17:32 +0000 (15:17 +0100)
Generated with: ruff check --extend-select F401 --fix

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 91f81eac15e9f340a506a2f23f6ccfcca82eb881..2133a76265492d8b4ff3d68266b9199ee45ed753 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 d58f127dd4e800be991e1463b490ebaecb1f8d58..d1cf0d53aad39ba1476fe24530eca3494b175fea 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 f4f616cb28f421f0b444f6227fe351861e8b1753..92d1f743ba5f2f80fcc0d4033103564e0f74e154 100644 (file)
@@ -17,7 +17,6 @@ import os
 
 import dns
 import dns.update
-import pytest
 
 from isctest.kasp import Iret, SettimeOptions
 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