From 6c9f1f80136cc93fa81c797dab6246505d90fa2c Mon Sep 17 00:00:00 2001 From: Pavel Tisnovsky Date: Tue, 10 Dec 2024 13:54:56 +0100 Subject: [PATCH] Minor: override Pylint issue with global statement usage Signed-off-by: Pavel Tisnovsky --- ols/src/rag_index/index_loader.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ols/src/rag_index/index_loader.py b/ols/src/rag_index/index_loader.py index c31fed8e..eab3630d 100644 --- a/ols/src/rag_index/index_loader.py +++ b/ols/src/rag_index/index_loader.py @@ -16,6 +16,7 @@ # So this module is excluded from mypy checks as a whole. def load_llama_index_deps() -> None: """Load llama_index dependencies.""" + # pylint: disable=global-statement global Settings global StorageContext global load_index_from_storage