]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: fix make check tests 63186/head
authorAfreen Misbah <afreen@ibm.com>
Thu, 8 May 2025 08:53:07 +0000 (14:23 +0530)
committerNizamudeen A <nia@redhat.com>
Thu, 8 May 2025 15:51:41 +0000 (21:21 +0530)
Fixes https://tracker.ceph.com/issues/71246

Pr are failing with errors import errors running pylint

Signed-off-by: Afreen Misbah <afreen@ibm.com>
(cherry picked from commit 29f0f2914efacd2e6b9bc7115f5c2d3790bb12cc)

src/pybind/mgr/dashboard/.pylintrc

index 79dfbad7d961482291fd0947fa0f05876628bff3..a6353c8a67e0d29e4b45730390aebd6a87493176 100644 (file)
@@ -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