From: Zack Cerza Date: Tue, 9 Sep 2025 03:19:23 +0000 (-0600) Subject: Fix errors reported by ruff X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=db5f5d174624284ffb569761f7c45f6fcce719b6;p=teuthology.git Fix errors reported by ruff Signed-off-by: Zack Cerza --- diff --git a/docs/conf.py b/docs/conf.py index bce967b1e..4b5286fcf 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -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 diff --git a/teuthology/test/test_describe_tests.py b/teuthology/test/test_describe_tests.py index 04d177702..13635531d 100644 --- a/teuthology/test/test_describe_tests.py +++ b/teuthology/test/test_describe_tests.py @@ -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()