]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
Fix errors reported by ruff
authorZack Cerza <zack@cerza.org>
Tue, 9 Sep 2025 03:19:23 +0000 (21:19 -0600)
committerZack Cerza <zack@cerza.org>
Fri, 7 Nov 2025 20:02:44 +0000 (13:02 -0700)
Signed-off-by: Zack Cerza <zack@cerza.org>
docs/conf.py
teuthology/test/test_describe_tests.py

index bce967b1eea23280169ab18750983a67839f1b6e..4b5286fcf9a2c23e1cfb6c0f7bc45de0aca29446 100644 (file)
@@ -12,8 +12,6 @@
 # All configuration values have a default; values that are commented out
 # serve to show the default.
 
-import sys
-import os
 
 # If extensions (or modules to document with autodoc) are in another directory,
 # add these directories to sys.path here. If the directory is relative to the
index 04d1777022f26ac8255cf397358f500f96846e35..13635531da2279ecc0db26385cfe76ab0fb1c0c0 100644 (file)
@@ -139,7 +139,6 @@ class TestDescribeTests(object):
              'teuthology.describe_tests.open': open,
              'builtins.open': open,
              'os.path.exists': exists,
-             'os.listdir': listdir,
              'os.path.isfile': isfile,
          }.items():
             mockobj = MagicMock()