From: Afreen Misbah Date: Thu, 8 May 2025 08:53:07 +0000 (+0530) Subject: mgr/dashboard: fix make check tests X-Git-Tag: testing/wip-vshankar-testing-20250603.055014-reef-debug~75^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=c8dcf56c365c69e414acc9dc91cdce3724ed2958;p=ceph-ci.git mgr/dashboard: fix make check tests Fixes https://tracker.ceph.com/issues/71246 Pr are failing with errors import errors running pylint Signed-off-by: Afreen Misbah (cherry picked from commit 29f0f2914efacd2e6b9bc7115f5c2d3790bb12cc) --- diff --git a/src/pybind/mgr/dashboard/.pylintrc b/src/pybind/mgr/dashboard/.pylintrc index 79dfbad7d96..a6353c8a67e 100644 --- a/src/pybind/mgr/dashboard/.pylintrc +++ b/src/pybind/mgr/dashboard/.pylintrc @@ -16,7 +16,7 @@ ignore-patterns= # Python code to execute, usually for sys.path manipulation such as # pygtk.require(). -init-hook='import sys; sys.path.append("./")' +init-hook='import sys; sys.path.append("./"); sys.path.append("../../../python-common")' # Use multiple processes to speed up Pylint. jobs=1