Skip to content

Commit

Permalink
Minor: override Pylint issue with global statement usage
Browse files Browse the repository at this point in the history
Signed-off-by: Pavel Tisnovsky <[email protected]>
  • Loading branch information
tisnik committed Dec 11, 2024
1 parent fdddb7b commit 6c9f1f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ols/src/rag_index/index_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6c9f1f8

Please sign in to comment.