From 8a2e70874afa863301983352e63c29b38448863d Mon Sep 17 00:00:00 2001
From: Gregory Borodin <grihabor@gmail.com>
Date: Tue, 20 Feb 2024 21:43:38 +0100
Subject: [PATCH] Remove redundant `python_sources` targets (#10922)

---
 llama-index-cli/BUILD                                |  2 --
 .../llama_index/cli/new_package/common/BUILD         |  1 -
 .../core/command_line/new_package/common/BUILD       |  1 -
 llama-index-core/tests/BUILD                         | 12 ++++++------
 llama-index-core/tests/agent/openai/BUILD            |  1 -
 llama-index-core/tests/indices/BUILD                 | 12 ++++++------
 llama-index-core/tests/indices/list/BUILD            |  5 ++++-
 .../tests/indices/query/query_transform/BUILD        |  5 ++++-
 llama-index-core/tests/indices/response/BUILD        |  4 ++--
 llama-index-core/tests/llms/BUILD                    |  2 --
 llama-index-core/tests/node_parser/BUILD             |  3 +--
 llama-index-core/tests/storage/docstore/BUILD        |  2 --
 llama-index-core/tests/storage/index_store/BUILD     |  2 --
 llama-index-core/tests/storage/kvstore/BUILD         |  2 --
 llama-index-core/tests/vector_stores/BUILD           |  2 --
 .../callbacks/llama-index-callbacks-argilla/BUILD    |  5 +----
 .../llama-index-callbacks-arize-phoenix/BUILD        |  2 +-
 .../embeddings/llama-index-embeddings-gemini/BUILD   |  4 ----
 .../llama-index-embeddings-gemini/tests/BUILD        |  2 +-
 .../embeddings/llama-index-embeddings-google/BUILD   |  4 ----
 .../llama-index-embeddings-google/tests/BUILD        |  2 +-
 .../llama-index-embeddings-instructor/BUILD          |  3 +--
 .../llama-index-evaluation-tonic-validate/BUILD      |  5 -----
 .../tests/BUILD                                      |  2 +-
 .../extractors/llama-index-extractors-marvin/BUILD   |  4 ----
 .../llama-index-extractors-marvin/tests/BUILD        |  2 +-
 .../llama-index-graph-stores-nebula/BUILD            |  5 +----
 .../indices/llama-index-indices-managed-google/BUILD |  4 ----
 .../llama-index-indices-managed-google/tests/BUILD   |  2 +-
 .../llama-index-indices-managed-llama-cloud/BUILD    |  2 --
 .../llms/llama-index-llms-gemini/BUILD               |  9 +--------
 .../llms/llama-index-llms-gemini/tests/BUILD         |  2 +-
 .../llms/llama-index-llms-litellm/BUILD              |  4 ----
 .../llms/llama-index-llms-llama-api/BUILD            |  4 ----
 .../llms/llama-index-llms-llama-api/tests/BUILD      |  2 +-
 .../llms/llama-index-llms-palm/BUILD                 |  4 ----
 .../llms/llama-index-llms-palm/tests/BUILD           |  2 +-
 .../llms/llama-index-llms-vertex/BUILD               |  7 +------
 .../llms/llama-index-llms-vertex/tests/BUILD         |  2 +-
 .../llms/llama-index-llms-watsonx/BUILD              |  4 ----
 .../llms/llama-index-llms-watsonx/tests/BUILD        |  2 +-
 .../llama-index-multi-modal-llms-gemini/BUILD        |  4 ----
 .../llama-index-multi-modal-llms-gemini/tests/BUILD  |  2 +-
 .../readers/llama-index-readers-agent-search/BUILD   |  4 ----
 .../llama-index-readers-agent-search/tests/BUILD     |  2 +-
 .../llama-index-readers-azcognitive-search/BUILD     |  5 +----
 .../readers/llama-index-readers-azstorage-blob/BUILD |  5 +----
 .../llama_index/readers/BUILD                        |  1 -
 .../llama-index-readers-firebase-realtimedb/BUILD    |  4 ----
 .../tests/BUILD                                      |  2 +-
 .../readers/llama-index-readers-google/BUILD         |  9 ++++-----
 .../readers/llama-index-readers-lilac/BUILD          |  4 ----
 .../readers/llama-index-readers-lilac/tests/BUILD    |  2 +-
 .../readers/llama-index-readers-pandas-ai/BUILD      |  4 ----
 .../llama-index-readers-pandas-ai/tests/BUILD        |  2 +-
 .../readers/llama-index-readers-pathway/BUILD        |  4 ----
 .../readers/llama-index-readers-pathway/tests/BUILD  |  2 +-
 .../readers/llama-index-readers-sec-filings/BUILD    |  4 ----
 .../llama-index-readers-sec-filings/tests/BUILD      |  2 +-
 .../readers/llama-index-readers-whatsapp/BUILD       |  4 ----
 .../readers/llama-index-readers-whatsapp/tests/BUILD |  2 +-
 .../llama-index-response-synthesizers-google/BUILD   |  4 ----
 .../tests/BUILD                                      |  2 +-
 .../retrievers/llama-index-retrievers-pathway/BUILD  |  4 ----
 .../llama-index-retrievers-pathway/tests/BUILD       |  2 +-
 .../tools/llama-index-tools-google/BUILD             |  4 ----
 .../tools/llama-index-tools-google/tests/BUILD       |  2 +-
 .../tools/llama-index-tools-ionic-shopping/BUILD     |  5 +----
 .../tools/llama-index-tools-text-to-image/BUILD      |  4 ----
 .../llama-index-tools-text-to-image/tests/BUILD      |  2 +-
 .../llama-index-vector-stores-astra/tests/BUILD      |  2 --
 .../tests/BUILD                                      |  2 --
 .../llama-index-vector-stores-google/BUILD           |  4 ----
 .../llama-index-vector-stores-google/tests/BUILD     |  2 +-
 .../llama-index-vector-stores-weaviate/BUILD         |  5 +----
 llama-index-legacy/tests/BUILD                       |  3 ++-
 .../llama-index-packs-agent-search-retriever/BUILD   |  4 ----
 .../tests/BUILD                                      |  2 +-
 .../llama-index-packs-corrective-rag/BUILD           |  2 --
 .../llama-index-packs-gmail-openai-agent/BUILD       |  4 ----
 .../llama-index-packs-gmail-openai-agent/tests/BUILD |  2 +-
 .../llama-index-packs-panel-chatbot/BUILD            |  4 ----
 .../llama-index-packs-panel-chatbot/tests/BUILD      |  2 +-
 .../llama-index-packs-ragatouille-retriever/BUILD    |  4 ----
 .../tests/BUILD                                      |  2 +-
 llama-index-packs/llama-index-packs-vanna/BUILD      |  4 ----
 .../llama-index-packs-vanna/tests/BUILD              |  2 +-
 pants.toml                                           |  1 +
 88 files changed, 68 insertions(+), 226 deletions(-)
 delete mode 100644 llama-index-cli/llama_index/cli/new_package/common/BUILD
 delete mode 100644 llama-index-core/llama_index/core/command_line/new_package/common/BUILD
 delete mode 100644 llama-index-core/tests/agent/openai/BUILD
 delete mode 100644 llama-index-integrations/readers/llama-index-readers-chatgpt-plugin/llama_index/readers/BUILD

diff --git a/llama-index-cli/BUILD b/llama-index-cli/BUILD
index 0b67818b46..0896ca890d 100644
--- a/llama-index-cli/BUILD
+++ b/llama-index-cli/BUILD
@@ -1,5 +1,3 @@
-python_sources()
-
 poetry_requirements(
     name="poetry",
 )
diff --git a/llama-index-cli/llama_index/cli/new_package/common/BUILD b/llama-index-cli/llama_index/cli/new_package/common/BUILD
deleted file mode 100644
index db46e8d6c9..0000000000
--- a/llama-index-cli/llama_index/cli/new_package/common/BUILD
+++ /dev/null
@@ -1 +0,0 @@
-python_sources()
diff --git a/llama-index-core/llama_index/core/command_line/new_package/common/BUILD b/llama-index-core/llama_index/core/command_line/new_package/common/BUILD
deleted file mode 100644
index db46e8d6c9..0000000000
--- a/llama-index-core/llama_index/core/command_line/new_package/common/BUILD
+++ /dev/null
@@ -1 +0,0 @@
-python_sources()
diff --git a/llama-index-core/tests/BUILD b/llama-index-core/tests/BUILD
index 693a52c50c..3718580df9 100644
--- a/llama-index-core/tests/BUILD
+++ b/llama-index-core/tests/BUILD
@@ -1,14 +1,14 @@
 python_test_utils(
     name="test_utils",
     dependencies=[
-        'llama-index-core/tests/indices/vector_store/mock_services.py',
+        "llama-index-core/tests/indices/vector_store/mock_services.py",
         "llama-index-core/tests/indices/list/__init__.py",
         "llama-index-core/tests/indices/list:list",
-        'llama-index-core/tests/mock_utils/mock_predict.py',
-        'llama-index-core/tests/mock_utils/mock_text_splitter.py',
-        'llama-index-core/tests/mock_utils/mock_prompts.py',
-        'llama-index-core/tests/mock_utils/mock_utils.py',
-    ]
+        "llama-index-core/tests/mock_utils/mock_predict.py",
+        "llama-index-core/tests/mock_utils/mock_text_splitter.py",
+        "llama-index-core/tests/mock_utils/mock_prompts.py",
+        "llama-index-core/tests/mock_utils/mock_utils.py",
+    ],
 )
 
 python_tests()
diff --git a/llama-index-core/tests/agent/openai/BUILD b/llama-index-core/tests/agent/openai/BUILD
deleted file mode 100644
index db46e8d6c9..0000000000
--- a/llama-index-core/tests/agent/openai/BUILD
+++ /dev/null
@@ -1 +0,0 @@
-python_sources()
diff --git a/llama-index-core/tests/indices/BUILD b/llama-index-core/tests/indices/BUILD
index aba1f91b9d..457c479eea 100644
--- a/llama-index-core/tests/indices/BUILD
+++ b/llama-index-core/tests/indices/BUILD
@@ -3,12 +3,12 @@ python_sources()
 python_test_utils(
     name="test_utils",
     dependencies=[
-        'llama-index-core/tests/indices/vector_store/mock_services.py',
-        'llama-index-core/tests/mock_utils/mock_predict.py',
-        'llama-index-core/tests/mock_utils/mock_text_splitter.py',
-        'llama-index-core/tests/mock_utils/mock_utils.py',
-        'llama-index-core/tests/mock_utils/mock_prompts.py',
-    ]
+        "llama-index-core/tests/indices/vector_store/mock_services.py",
+        "llama-index-core/tests/mock_utils/mock_predict.py",
+        "llama-index-core/tests/mock_utils/mock_text_splitter.py",
+        "llama-index-core/tests/mock_utils/mock_utils.py",
+        "llama-index-core/tests/mock_utils/mock_prompts.py",
+    ],
 )
 
 python_tests(
diff --git a/llama-index-core/tests/indices/list/BUILD b/llama-index-core/tests/indices/list/BUILD
index ffe31cf05d..fbbd2a4ee1 100644
--- a/llama-index-core/tests/indices/list/BUILD
+++ b/llama-index-core/tests/indices/list/BUILD
@@ -2,5 +2,8 @@ python_sources()
 
 python_tests(
     name="tests",
-    dependencies=["llama-index-core/tests/indices/list/__init__.py", "llama-index-core/tests/indices/list:list"]
+    dependencies=[
+        "llama-index-core/tests/indices/list/__init__.py",
+        "llama-index-core/tests/indices/list:list",
+    ],
 )
diff --git a/llama-index-core/tests/indices/query/query_transform/BUILD b/llama-index-core/tests/indices/query/query_transform/BUILD
index 0659f77714..0c35c16754 100644
--- a/llama-index-core/tests/indices/query/query_transform/BUILD
+++ b/llama-index-core/tests/indices/query/query_transform/BUILD
@@ -2,5 +2,8 @@ python_sources()
 
 python_tests(
     name="tests",
-    dependencies=["llama-index-core/tests/indices/query/query_transform/__init__.py", "llama-index-core/tests/indices/query/query_transform:query_transform"]
+    dependencies=[
+        "llama-index-core/tests/indices/query/query_transform/__init__.py",
+        "llama-index-core/tests/indices/query/query_transform:query_transform",
+    ],
 )
diff --git a/llama-index-core/tests/indices/response/BUILD b/llama-index-core/tests/indices/response/BUILD
index 91e035220c..8f178b05a9 100644
--- a/llama-index-core/tests/indices/response/BUILD
+++ b/llama-index-core/tests/indices/response/BUILD
@@ -1,6 +1,6 @@
 python_tests(
     name="tests",
     dependencies=[
-        'llama-index-core/tests/indices/vector_store/mock_services.py',
-    ]
+        "llama-index-core/tests/indices/vector_store/mock_services.py",
+    ],
 )
diff --git a/llama-index-core/tests/llms/BUILD b/llama-index-core/tests/llms/BUILD
index 0eea8b1cf1..57341b1358 100644
--- a/llama-index-core/tests/llms/BUILD
+++ b/llama-index-core/tests/llms/BUILD
@@ -1,5 +1,3 @@
-python_sources()
-
 python_tests(
     name="tests",
 )
diff --git a/llama-index-core/tests/node_parser/BUILD b/llama-index-core/tests/node_parser/BUILD
index c12f767436..dac1e8cdc1 100644
--- a/llama-index-core/tests/node_parser/BUILD
+++ b/llama-index-core/tests/node_parser/BUILD
@@ -1,6 +1,5 @@
 python_sources()
 
 python_tests(
-    name="tests",
-    dependencies=["llama-index-core/tests/playground:playground"]
+    name="tests", dependencies=["llama-index-core/tests/playground:playground"]
 )
diff --git a/llama-index-core/tests/storage/docstore/BUILD b/llama-index-core/tests/storage/docstore/BUILD
index 0eea8b1cf1..57341b1358 100644
--- a/llama-index-core/tests/storage/docstore/BUILD
+++ b/llama-index-core/tests/storage/docstore/BUILD
@@ -1,5 +1,3 @@
-python_sources()
-
 python_tests(
     name="tests",
 )
diff --git a/llama-index-core/tests/storage/index_store/BUILD b/llama-index-core/tests/storage/index_store/BUILD
index 0eea8b1cf1..57341b1358 100644
--- a/llama-index-core/tests/storage/index_store/BUILD
+++ b/llama-index-core/tests/storage/index_store/BUILD
@@ -1,5 +1,3 @@
-python_sources()
-
 python_tests(
     name="tests",
 )
diff --git a/llama-index-core/tests/storage/kvstore/BUILD b/llama-index-core/tests/storage/kvstore/BUILD
index 0eea8b1cf1..57341b1358 100644
--- a/llama-index-core/tests/storage/kvstore/BUILD
+++ b/llama-index-core/tests/storage/kvstore/BUILD
@@ -1,5 +1,3 @@
-python_sources()
-
 python_tests(
     name="tests",
 )
diff --git a/llama-index-core/tests/vector_stores/BUILD b/llama-index-core/tests/vector_stores/BUILD
index 00e59b3017..57341b1358 100644
--- a/llama-index-core/tests/vector_stores/BUILD
+++ b/llama-index-core/tests/vector_stores/BUILD
@@ -1,5 +1,3 @@
 python_tests(
     name="tests",
 )
-
-python_sources()
diff --git a/llama-index-integrations/callbacks/llama-index-callbacks-argilla/BUILD b/llama-index-integrations/callbacks/llama-index-callbacks-argilla/BUILD
index df71f15dbe..9bf6371f10 100644
--- a/llama-index-integrations/callbacks/llama-index-callbacks-argilla/BUILD
+++ b/llama-index-integrations/callbacks/llama-index-callbacks-argilla/BUILD
@@ -1,4 +1 @@
-poetry_requirements(
-    name="poetry",
-    module_mapping={"argilla": ["argilla_llama_index"]}
-)
+poetry_requirements(name="poetry", module_mapping={"argilla": ["argilla_llama_index"]})
diff --git a/llama-index-integrations/callbacks/llama-index-callbacks-arize-phoenix/BUILD b/llama-index-integrations/callbacks/llama-index-callbacks-arize-phoenix/BUILD
index f39be44179..3ba7e00c7c 100644
--- a/llama-index-integrations/callbacks/llama-index-callbacks-arize-phoenix/BUILD
+++ b/llama-index-integrations/callbacks/llama-index-callbacks-arize-phoenix/BUILD
@@ -1,4 +1,4 @@
 poetry_requirements(
     name="poetry",
-    module_mapping={"arize-phoenix": ["phoenix"], "phoenix": ["arize-phoenix"]}
+    module_mapping={"arize-phoenix": ["phoenix"], "phoenix": ["arize-phoenix"]},
 )
diff --git a/llama-index-integrations/embeddings/llama-index-embeddings-gemini/BUILD b/llama-index-integrations/embeddings/llama-index-embeddings-gemini/BUILD
index 8ccf08240e..0896ca890d 100644
--- a/llama-index-integrations/embeddings/llama-index-embeddings-gemini/BUILD
+++ b/llama-index-integrations/embeddings/llama-index-embeddings-gemini/BUILD
@@ -1,7 +1,3 @@
 poetry_requirements(
     name="poetry",
 )
-
-python_sources(
-        interpreter_constraints=["==3.9.*", "==3.10.*"],
-)
diff --git a/llama-index-integrations/embeddings/llama-index-embeddings-gemini/tests/BUILD b/llama-index-integrations/embeddings/llama-index-embeddings-gemini/tests/BUILD
index 5cd7615688..619cac15ff 100644
--- a/llama-index-integrations/embeddings/llama-index-embeddings-gemini/tests/BUILD
+++ b/llama-index-integrations/embeddings/llama-index-embeddings-gemini/tests/BUILD
@@ -1,3 +1,3 @@
 python_tests(
-  interpreter_constraints=["==3.9.*", "==3.10.*"],
+    interpreter_constraints=["==3.9.*", "==3.10.*"],
 )
diff --git a/llama-index-integrations/embeddings/llama-index-embeddings-google/BUILD b/llama-index-integrations/embeddings/llama-index-embeddings-google/BUILD
index 8ccf08240e..0896ca890d 100644
--- a/llama-index-integrations/embeddings/llama-index-embeddings-google/BUILD
+++ b/llama-index-integrations/embeddings/llama-index-embeddings-google/BUILD
@@ -1,7 +1,3 @@
 poetry_requirements(
     name="poetry",
 )
-
-python_sources(
-        interpreter_constraints=["==3.9.*", "==3.10.*"],
-)
diff --git a/llama-index-integrations/embeddings/llama-index-embeddings-google/tests/BUILD b/llama-index-integrations/embeddings/llama-index-embeddings-google/tests/BUILD
index 5cd7615688..619cac15ff 100644
--- a/llama-index-integrations/embeddings/llama-index-embeddings-google/tests/BUILD
+++ b/llama-index-integrations/embeddings/llama-index-embeddings-google/tests/BUILD
@@ -1,3 +1,3 @@
 python_tests(
-  interpreter_constraints=["==3.9.*", "==3.10.*"],
+    interpreter_constraints=["==3.9.*", "==3.10.*"],
 )
diff --git a/llama-index-integrations/embeddings/llama-index-embeddings-instructor/BUILD b/llama-index-integrations/embeddings/llama-index-embeddings-instructor/BUILD
index 348a9153c8..fbfc214015 100644
--- a/llama-index-integrations/embeddings/llama-index-embeddings-instructor/BUILD
+++ b/llama-index-integrations/embeddings/llama-index-embeddings-instructor/BUILD
@@ -1,4 +1,3 @@
 poetry_requirements(
-    name="poetry",
-    module_mapping={"instructorembedding": ["InstructorEmbedding"]}
+    name="poetry", module_mapping={"instructorembedding": ["InstructorEmbedding"]}
 )
diff --git a/llama-index-integrations/evaluation/llama-index-evaluation-tonic-validate/BUILD b/llama-index-integrations/evaluation/llama-index-evaluation-tonic-validate/BUILD
index 869cece608..0896ca890d 100644
--- a/llama-index-integrations/evaluation/llama-index-evaluation-tonic-validate/BUILD
+++ b/llama-index-integrations/evaluation/llama-index-evaluation-tonic-validate/BUILD
@@ -1,8 +1,3 @@
 poetry_requirements(
     name="poetry",
 )
-
-python_sources(
-    name="py39",
-    interpreter_constraints=["==3.9.*", "==3.10.*"],
-)
diff --git a/llama-index-integrations/evaluation/llama-index-evaluation-tonic-validate/tests/BUILD b/llama-index-integrations/evaluation/llama-index-evaluation-tonic-validate/tests/BUILD
index 5cd7615688..619cac15ff 100644
--- a/llama-index-integrations/evaluation/llama-index-evaluation-tonic-validate/tests/BUILD
+++ b/llama-index-integrations/evaluation/llama-index-evaluation-tonic-validate/tests/BUILD
@@ -1,3 +1,3 @@
 python_tests(
-  interpreter_constraints=["==3.9.*", "==3.10.*"],
+    interpreter_constraints=["==3.9.*", "==3.10.*"],
 )
diff --git a/llama-index-integrations/extractors/llama-index-extractors-marvin/BUILD b/llama-index-integrations/extractors/llama-index-extractors-marvin/BUILD
index 8ccf08240e..0896ca890d 100644
--- a/llama-index-integrations/extractors/llama-index-extractors-marvin/BUILD
+++ b/llama-index-integrations/extractors/llama-index-extractors-marvin/BUILD
@@ -1,7 +1,3 @@
 poetry_requirements(
     name="poetry",
 )
-
-python_sources(
-        interpreter_constraints=["==3.9.*", "==3.10.*"],
-)
diff --git a/llama-index-integrations/extractors/llama-index-extractors-marvin/tests/BUILD b/llama-index-integrations/extractors/llama-index-extractors-marvin/tests/BUILD
index 5cd7615688..619cac15ff 100644
--- a/llama-index-integrations/extractors/llama-index-extractors-marvin/tests/BUILD
+++ b/llama-index-integrations/extractors/llama-index-extractors-marvin/tests/BUILD
@@ -1,3 +1,3 @@
 python_tests(
-  interpreter_constraints=["==3.9.*", "==3.10.*"],
+    interpreter_constraints=["==3.9.*", "==3.10.*"],
 )
diff --git a/llama-index-integrations/graph_stores/llama-index-graph-stores-nebula/BUILD b/llama-index-integrations/graph_stores/llama-index-graph-stores-nebula/BUILD
index 74b55d10d4..b9ef038980 100644
--- a/llama-index-integrations/graph_stores/llama-index-graph-stores-nebula/BUILD
+++ b/llama-index-integrations/graph_stores/llama-index-graph-stores-nebula/BUILD
@@ -1,4 +1 @@
-poetry_requirements(
-    name="poetry",
-    module_mapping={"nebula3-python": ["nebula3"]}
-)
+poetry_requirements(name="poetry", module_mapping={"nebula3-python": ["nebula3"]})
diff --git a/llama-index-integrations/indices/llama-index-indices-managed-google/BUILD b/llama-index-integrations/indices/llama-index-indices-managed-google/BUILD
index 8ccf08240e..0896ca890d 100644
--- a/llama-index-integrations/indices/llama-index-indices-managed-google/BUILD
+++ b/llama-index-integrations/indices/llama-index-indices-managed-google/BUILD
@@ -1,7 +1,3 @@
 poetry_requirements(
     name="poetry",
 )
-
-python_sources(
-        interpreter_constraints=["==3.9.*", "==3.10.*"],
-)
diff --git a/llama-index-integrations/indices/llama-index-indices-managed-google/tests/BUILD b/llama-index-integrations/indices/llama-index-indices-managed-google/tests/BUILD
index 5cd7615688..619cac15ff 100644
--- a/llama-index-integrations/indices/llama-index-indices-managed-google/tests/BUILD
+++ b/llama-index-integrations/indices/llama-index-indices-managed-google/tests/BUILD
@@ -1,3 +1,3 @@
 python_tests(
-  interpreter_constraints=["==3.9.*", "==3.10.*"],
+    interpreter_constraints=["==3.9.*", "==3.10.*"],
 )
diff --git a/llama-index-integrations/indices/llama-index-indices-managed-llama-cloud/BUILD b/llama-index-integrations/indices/llama-index-indices-managed-llama-cloud/BUILD
index 94c4d19852..e229987fbb 100644
--- a/llama-index-integrations/indices/llama-index-indices-managed-llama-cloud/BUILD
+++ b/llama-index-integrations/indices/llama-index-indices-managed-llama-cloud/BUILD
@@ -1,5 +1,3 @@
-python_sources()
-
 poetry_requirements(
     name="poetry",
     module_mapping={"llamaindex-py-client": ["llama_index_client"]},
diff --git a/llama-index-integrations/llms/llama-index-llms-gemini/BUILD b/llama-index-integrations/llms/llama-index-llms-gemini/BUILD
index c9548f885d..61962a62b5 100644
--- a/llama-index-integrations/llms/llama-index-llms-gemini/BUILD
+++ b/llama-index-integrations/llms/llama-index-llms-gemini/BUILD
@@ -1,8 +1 @@
-poetry_requirements(
-    name="poetry",
-    module_mapping={"google-generativeai": ["google"]}
-)
-
-python_sources(
-        interpreter_constraints=["==3.9.*", "==3.10.*"],
-)
+poetry_requirements(name="poetry", module_mapping={"google-generativeai": ["google"]})
diff --git a/llama-index-integrations/llms/llama-index-llms-gemini/tests/BUILD b/llama-index-integrations/llms/llama-index-llms-gemini/tests/BUILD
index 5cd7615688..619cac15ff 100644
--- a/llama-index-integrations/llms/llama-index-llms-gemini/tests/BUILD
+++ b/llama-index-integrations/llms/llama-index-llms-gemini/tests/BUILD
@@ -1,3 +1,3 @@
 python_tests(
-  interpreter_constraints=["==3.9.*", "==3.10.*"],
+    interpreter_constraints=["==3.9.*", "==3.10.*"],
 )
diff --git a/llama-index-integrations/llms/llama-index-llms-litellm/BUILD b/llama-index-integrations/llms/llama-index-llms-litellm/BUILD
index a8f4940ed6..0896ca890d 100644
--- a/llama-index-integrations/llms/llama-index-llms-litellm/BUILD
+++ b/llama-index-integrations/llms/llama-index-llms-litellm/BUILD
@@ -1,7 +1,3 @@
 poetry_requirements(
     name="poetry",
 )
-
-python_sources(
-    interpreter_constraints=["==3.9.*", "==3.10.*"],
-)
diff --git a/llama-index-integrations/llms/llama-index-llms-llama-api/BUILD b/llama-index-integrations/llms/llama-index-llms-llama-api/BUILD
index 8ccf08240e..0896ca890d 100644
--- a/llama-index-integrations/llms/llama-index-llms-llama-api/BUILD
+++ b/llama-index-integrations/llms/llama-index-llms-llama-api/BUILD
@@ -1,7 +1,3 @@
 poetry_requirements(
     name="poetry",
 )
-
-python_sources(
-        interpreter_constraints=["==3.9.*", "==3.10.*"],
-)
diff --git a/llama-index-integrations/llms/llama-index-llms-llama-api/tests/BUILD b/llama-index-integrations/llms/llama-index-llms-llama-api/tests/BUILD
index 5cd7615688..619cac15ff 100644
--- a/llama-index-integrations/llms/llama-index-llms-llama-api/tests/BUILD
+++ b/llama-index-integrations/llms/llama-index-llms-llama-api/tests/BUILD
@@ -1,3 +1,3 @@
 python_tests(
-  interpreter_constraints=["==3.9.*", "==3.10.*"],
+    interpreter_constraints=["==3.9.*", "==3.10.*"],
 )
diff --git a/llama-index-integrations/llms/llama-index-llms-palm/BUILD b/llama-index-integrations/llms/llama-index-llms-palm/BUILD
index 8ccf08240e..0896ca890d 100644
--- a/llama-index-integrations/llms/llama-index-llms-palm/BUILD
+++ b/llama-index-integrations/llms/llama-index-llms-palm/BUILD
@@ -1,7 +1,3 @@
 poetry_requirements(
     name="poetry",
 )
-
-python_sources(
-        interpreter_constraints=["==3.9.*", "==3.10.*"],
-)
diff --git a/llama-index-integrations/llms/llama-index-llms-palm/tests/BUILD b/llama-index-integrations/llms/llama-index-llms-palm/tests/BUILD
index 5cd7615688..619cac15ff 100644
--- a/llama-index-integrations/llms/llama-index-llms-palm/tests/BUILD
+++ b/llama-index-integrations/llms/llama-index-llms-palm/tests/BUILD
@@ -1,3 +1,3 @@
 python_tests(
-  interpreter_constraints=["==3.9.*", "==3.10.*"],
+    interpreter_constraints=["==3.9.*", "==3.10.*"],
 )
diff --git a/llama-index-integrations/llms/llama-index-llms-vertex/BUILD b/llama-index-integrations/llms/llama-index-llms-vertex/BUILD
index 2b13cb98e4..84f2657a9f 100644
--- a/llama-index-integrations/llms/llama-index-llms-vertex/BUILD
+++ b/llama-index-integrations/llms/llama-index-llms-vertex/BUILD
@@ -1,8 +1,3 @@
 poetry_requirements(
-    name="poetry",
-    module_mapping={"google-cloud-aiplatform": ["vertexai"]}
-)
-
-python_sources(
-        interpreter_constraints=["==3.9.*", "==3.10.*"],
+    name="poetry", module_mapping={"google-cloud-aiplatform": ["vertexai"]}
 )
diff --git a/llama-index-integrations/llms/llama-index-llms-vertex/tests/BUILD b/llama-index-integrations/llms/llama-index-llms-vertex/tests/BUILD
index 5cd7615688..619cac15ff 100644
--- a/llama-index-integrations/llms/llama-index-llms-vertex/tests/BUILD
+++ b/llama-index-integrations/llms/llama-index-llms-vertex/tests/BUILD
@@ -1,3 +1,3 @@
 python_tests(
-  interpreter_constraints=["==3.9.*", "==3.10.*"],
+    interpreter_constraints=["==3.9.*", "==3.10.*"],
 )
diff --git a/llama-index-integrations/llms/llama-index-llms-watsonx/BUILD b/llama-index-integrations/llms/llama-index-llms-watsonx/BUILD
index 2bb33e7c17..0896ca890d 100644
--- a/llama-index-integrations/llms/llama-index-llms-watsonx/BUILD
+++ b/llama-index-integrations/llms/llama-index-llms-watsonx/BUILD
@@ -1,7 +1,3 @@
 poetry_requirements(
     name="poetry",
 )
-
-python_sources(
-        interpreter_constraints=["==3.10.*"],
-)
diff --git a/llama-index-integrations/llms/llama-index-llms-watsonx/tests/BUILD b/llama-index-integrations/llms/llama-index-llms-watsonx/tests/BUILD
index d01f89cf9e..a1431c2350 100644
--- a/llama-index-integrations/llms/llama-index-llms-watsonx/tests/BUILD
+++ b/llama-index-integrations/llms/llama-index-llms-watsonx/tests/BUILD
@@ -1,3 +1,3 @@
 python_tests(
-  interpreter_constraints=["==3.10.*"],
+    interpreter_constraints=["==3.10.*"],
 )
diff --git a/llama-index-integrations/multi_modal_llms/llama-index-multi-modal-llms-gemini/BUILD b/llama-index-integrations/multi_modal_llms/llama-index-multi-modal-llms-gemini/BUILD
index 8ccf08240e..0896ca890d 100644
--- a/llama-index-integrations/multi_modal_llms/llama-index-multi-modal-llms-gemini/BUILD
+++ b/llama-index-integrations/multi_modal_llms/llama-index-multi-modal-llms-gemini/BUILD
@@ -1,7 +1,3 @@
 poetry_requirements(
     name="poetry",
 )
-
-python_sources(
-        interpreter_constraints=["==3.9.*", "==3.10.*"],
-)
diff --git a/llama-index-integrations/multi_modal_llms/llama-index-multi-modal-llms-gemini/tests/BUILD b/llama-index-integrations/multi_modal_llms/llama-index-multi-modal-llms-gemini/tests/BUILD
index 5cd7615688..619cac15ff 100644
--- a/llama-index-integrations/multi_modal_llms/llama-index-multi-modal-llms-gemini/tests/BUILD
+++ b/llama-index-integrations/multi_modal_llms/llama-index-multi-modal-llms-gemini/tests/BUILD
@@ -1,3 +1,3 @@
 python_tests(
-  interpreter_constraints=["==3.9.*", "==3.10.*"],
+    interpreter_constraints=["==3.9.*", "==3.10.*"],
 )
diff --git a/llama-index-integrations/readers/llama-index-readers-agent-search/BUILD b/llama-index-integrations/readers/llama-index-readers-agent-search/BUILD
index b165cb04cf..2d3d88d1ea 100644
--- a/llama-index-integrations/readers/llama-index-readers-agent-search/BUILD
+++ b/llama-index-integrations/readers/llama-index-readers-agent-search/BUILD
@@ -5,7 +5,3 @@ poetry_requirements(
 python_requirements(
     name="reqs",
 )
-
-python_sources(
-    interpreter_constraints=["==3.9.*", "==3.10.*"],
-)
diff --git a/llama-index-integrations/readers/llama-index-readers-agent-search/tests/BUILD b/llama-index-integrations/readers/llama-index-readers-agent-search/tests/BUILD
index 5cd7615688..619cac15ff 100644
--- a/llama-index-integrations/readers/llama-index-readers-agent-search/tests/BUILD
+++ b/llama-index-integrations/readers/llama-index-readers-agent-search/tests/BUILD
@@ -1,3 +1,3 @@
 python_tests(
-  interpreter_constraints=["==3.9.*", "==3.10.*"],
+    interpreter_constraints=["==3.9.*", "==3.10.*"],
 )
diff --git a/llama-index-integrations/readers/llama-index-readers-azcognitive-search/BUILD b/llama-index-integrations/readers/llama-index-readers-azcognitive-search/BUILD
index cadb6e3511..0a1233f585 100644
--- a/llama-index-integrations/readers/llama-index-readers-azcognitive-search/BUILD
+++ b/llama-index-integrations/readers/llama-index-readers-azcognitive-search/BUILD
@@ -1,7 +1,4 @@
-poetry_requirements(
-    name="poetry",
-    module_mapping={"azure-search-documents": ["azure"]}
-)
+poetry_requirements(name="poetry", module_mapping={"azure-search-documents": ["azure"]})
 
 python_requirements(
     name="reqs",
diff --git a/llama-index-integrations/readers/llama-index-readers-azstorage-blob/BUILD b/llama-index-integrations/readers/llama-index-readers-azstorage-blob/BUILD
index f2d2f23917..474f5b653e 100644
--- a/llama-index-integrations/readers/llama-index-readers-azstorage-blob/BUILD
+++ b/llama-index-integrations/readers/llama-index-readers-azstorage-blob/BUILD
@@ -1,7 +1,4 @@
-poetry_requirements(
-    name="poetry",
-    module_mapping={"azure-storage-blob": ["azure"]}
-)
+poetry_requirements(name="poetry", module_mapping={"azure-storage-blob": ["azure"]})
 
 python_requirements(
     name="reqs",
diff --git a/llama-index-integrations/readers/llama-index-readers-chatgpt-plugin/llama_index/readers/BUILD b/llama-index-integrations/readers/llama-index-readers-chatgpt-plugin/llama_index/readers/BUILD
deleted file mode 100644
index db46e8d6c9..0000000000
--- a/llama-index-integrations/readers/llama-index-readers-chatgpt-plugin/llama_index/readers/BUILD
+++ /dev/null
@@ -1 +0,0 @@
-python_sources()
diff --git a/llama-index-integrations/readers/llama-index-readers-firebase-realtimedb/BUILD b/llama-index-integrations/readers/llama-index-readers-firebase-realtimedb/BUILD
index b165cb04cf..2d3d88d1ea 100644
--- a/llama-index-integrations/readers/llama-index-readers-firebase-realtimedb/BUILD
+++ b/llama-index-integrations/readers/llama-index-readers-firebase-realtimedb/BUILD
@@ -5,7 +5,3 @@ poetry_requirements(
 python_requirements(
     name="reqs",
 )
-
-python_sources(
-    interpreter_constraints=["==3.9.*", "==3.10.*"],
-)
diff --git a/llama-index-integrations/readers/llama-index-readers-firebase-realtimedb/tests/BUILD b/llama-index-integrations/readers/llama-index-readers-firebase-realtimedb/tests/BUILD
index 5cd7615688..619cac15ff 100644
--- a/llama-index-integrations/readers/llama-index-readers-firebase-realtimedb/tests/BUILD
+++ b/llama-index-integrations/readers/llama-index-readers-firebase-realtimedb/tests/BUILD
@@ -1,3 +1,3 @@
 python_tests(
-  interpreter_constraints=["==3.9.*", "==3.10.*"],
+    interpreter_constraints=["==3.9.*", "==3.10.*"],
 )
diff --git a/llama-index-integrations/readers/llama-index-readers-google/BUILD b/llama-index-integrations/readers/llama-index-readers-google/BUILD
index 335679a175..1c1c977691 100644
--- a/llama-index-integrations/readers/llama-index-readers-google/BUILD
+++ b/llama-index-integrations/readers/llama-index-readers-google/BUILD
@@ -1,12 +1,11 @@
 poetry_requirements(
     name="poetry",
-    module_mapping={"google-api-python-client": ["googleapiclient"], "google-auth-oauthlib": ["google_auth_oauthlib"]}
+    module_mapping={
+        "google-api-python-client": ["googleapiclient"],
+        "google-auth-oauthlib": ["google_auth_oauthlib"],
+    },
 )
 
 python_requirements(
     name="reqs",
 )
-
-python_sources(
-    interpreter_constraints=["==3.10.*"],
-)
diff --git a/llama-index-integrations/readers/llama-index-readers-lilac/BUILD b/llama-index-integrations/readers/llama-index-readers-lilac/BUILD
index 37fcc8b0e2..2d3d88d1ea 100644
--- a/llama-index-integrations/readers/llama-index-readers-lilac/BUILD
+++ b/llama-index-integrations/readers/llama-index-readers-lilac/BUILD
@@ -5,7 +5,3 @@ poetry_requirements(
 python_requirements(
     name="reqs",
 )
-
-python_sources(
-        interpreter_constraints=["==3.9.*", "==3.10.*"],
-)
diff --git a/llama-index-integrations/readers/llama-index-readers-lilac/tests/BUILD b/llama-index-integrations/readers/llama-index-readers-lilac/tests/BUILD
index 5cd7615688..619cac15ff 100644
--- a/llama-index-integrations/readers/llama-index-readers-lilac/tests/BUILD
+++ b/llama-index-integrations/readers/llama-index-readers-lilac/tests/BUILD
@@ -1,3 +1,3 @@
 python_tests(
-  interpreter_constraints=["==3.9.*", "==3.10.*"],
+    interpreter_constraints=["==3.9.*", "==3.10.*"],
 )
diff --git a/llama-index-integrations/readers/llama-index-readers-pandas-ai/BUILD b/llama-index-integrations/readers/llama-index-readers-pandas-ai/BUILD
index 37fcc8b0e2..2d3d88d1ea 100644
--- a/llama-index-integrations/readers/llama-index-readers-pandas-ai/BUILD
+++ b/llama-index-integrations/readers/llama-index-readers-pandas-ai/BUILD
@@ -5,7 +5,3 @@ poetry_requirements(
 python_requirements(
     name="reqs",
 )
-
-python_sources(
-        interpreter_constraints=["==3.9.*", "==3.10.*"],
-)
diff --git a/llama-index-integrations/readers/llama-index-readers-pandas-ai/tests/BUILD b/llama-index-integrations/readers/llama-index-readers-pandas-ai/tests/BUILD
index 5cd7615688..619cac15ff 100644
--- a/llama-index-integrations/readers/llama-index-readers-pandas-ai/tests/BUILD
+++ b/llama-index-integrations/readers/llama-index-readers-pandas-ai/tests/BUILD
@@ -1,3 +1,3 @@
 python_tests(
-  interpreter_constraints=["==3.9.*", "==3.10.*"],
+    interpreter_constraints=["==3.9.*", "==3.10.*"],
 )
diff --git a/llama-index-integrations/readers/llama-index-readers-pathway/BUILD b/llama-index-integrations/readers/llama-index-readers-pathway/BUILD
index 2bb33e7c17..0896ca890d 100644
--- a/llama-index-integrations/readers/llama-index-readers-pathway/BUILD
+++ b/llama-index-integrations/readers/llama-index-readers-pathway/BUILD
@@ -1,7 +1,3 @@
 poetry_requirements(
     name="poetry",
 )
-
-python_sources(
-        interpreter_constraints=["==3.10.*"],
-)
diff --git a/llama-index-integrations/readers/llama-index-readers-pathway/tests/BUILD b/llama-index-integrations/readers/llama-index-readers-pathway/tests/BUILD
index d01f89cf9e..a1431c2350 100644
--- a/llama-index-integrations/readers/llama-index-readers-pathway/tests/BUILD
+++ b/llama-index-integrations/readers/llama-index-readers-pathway/tests/BUILD
@@ -1,3 +1,3 @@
 python_tests(
-  interpreter_constraints=["==3.10.*"],
+    interpreter_constraints=["==3.10.*"],
 )
diff --git a/llama-index-integrations/readers/llama-index-readers-sec-filings/BUILD b/llama-index-integrations/readers/llama-index-readers-sec-filings/BUILD
index 37fcc8b0e2..2d3d88d1ea 100644
--- a/llama-index-integrations/readers/llama-index-readers-sec-filings/BUILD
+++ b/llama-index-integrations/readers/llama-index-readers-sec-filings/BUILD
@@ -5,7 +5,3 @@ poetry_requirements(
 python_requirements(
     name="reqs",
 )
-
-python_sources(
-        interpreter_constraints=["==3.9.*", "==3.10.*"],
-)
diff --git a/llama-index-integrations/readers/llama-index-readers-sec-filings/tests/BUILD b/llama-index-integrations/readers/llama-index-readers-sec-filings/tests/BUILD
index 5cd7615688..619cac15ff 100644
--- a/llama-index-integrations/readers/llama-index-readers-sec-filings/tests/BUILD
+++ b/llama-index-integrations/readers/llama-index-readers-sec-filings/tests/BUILD
@@ -1,3 +1,3 @@
 python_tests(
-  interpreter_constraints=["==3.9.*", "==3.10.*"],
+    interpreter_constraints=["==3.9.*", "==3.10.*"],
 )
diff --git a/llama-index-integrations/readers/llama-index-readers-whatsapp/BUILD b/llama-index-integrations/readers/llama-index-readers-whatsapp/BUILD
index 37fcc8b0e2..2d3d88d1ea 100644
--- a/llama-index-integrations/readers/llama-index-readers-whatsapp/BUILD
+++ b/llama-index-integrations/readers/llama-index-readers-whatsapp/BUILD
@@ -5,7 +5,3 @@ poetry_requirements(
 python_requirements(
     name="reqs",
 )
-
-python_sources(
-        interpreter_constraints=["==3.9.*", "==3.10.*"],
-)
diff --git a/llama-index-integrations/readers/llama-index-readers-whatsapp/tests/BUILD b/llama-index-integrations/readers/llama-index-readers-whatsapp/tests/BUILD
index 5cd7615688..619cac15ff 100644
--- a/llama-index-integrations/readers/llama-index-readers-whatsapp/tests/BUILD
+++ b/llama-index-integrations/readers/llama-index-readers-whatsapp/tests/BUILD
@@ -1,3 +1,3 @@
 python_tests(
-  interpreter_constraints=["==3.9.*", "==3.10.*"],
+    interpreter_constraints=["==3.9.*", "==3.10.*"],
 )
diff --git a/llama-index-integrations/response_synthesizers/llama-index-response-synthesizers-google/BUILD b/llama-index-integrations/response_synthesizers/llama-index-response-synthesizers-google/BUILD
index 8ccf08240e..0896ca890d 100644
--- a/llama-index-integrations/response_synthesizers/llama-index-response-synthesizers-google/BUILD
+++ b/llama-index-integrations/response_synthesizers/llama-index-response-synthesizers-google/BUILD
@@ -1,7 +1,3 @@
 poetry_requirements(
     name="poetry",
 )
-
-python_sources(
-        interpreter_constraints=["==3.9.*", "==3.10.*"],
-)
diff --git a/llama-index-integrations/response_synthesizers/llama-index-response-synthesizers-google/tests/BUILD b/llama-index-integrations/response_synthesizers/llama-index-response-synthesizers-google/tests/BUILD
index 5cd7615688..619cac15ff 100644
--- a/llama-index-integrations/response_synthesizers/llama-index-response-synthesizers-google/tests/BUILD
+++ b/llama-index-integrations/response_synthesizers/llama-index-response-synthesizers-google/tests/BUILD
@@ -1,3 +1,3 @@
 python_tests(
-  interpreter_constraints=["==3.9.*", "==3.10.*"],
+    interpreter_constraints=["==3.9.*", "==3.10.*"],
 )
diff --git a/llama-index-integrations/retrievers/llama-index-retrievers-pathway/BUILD b/llama-index-integrations/retrievers/llama-index-retrievers-pathway/BUILD
index 2bb33e7c17..0896ca890d 100644
--- a/llama-index-integrations/retrievers/llama-index-retrievers-pathway/BUILD
+++ b/llama-index-integrations/retrievers/llama-index-retrievers-pathway/BUILD
@@ -1,7 +1,3 @@
 poetry_requirements(
     name="poetry",
 )
-
-python_sources(
-        interpreter_constraints=["==3.10.*"],
-)
diff --git a/llama-index-integrations/retrievers/llama-index-retrievers-pathway/tests/BUILD b/llama-index-integrations/retrievers/llama-index-retrievers-pathway/tests/BUILD
index d01f89cf9e..a1431c2350 100644
--- a/llama-index-integrations/retrievers/llama-index-retrievers-pathway/tests/BUILD
+++ b/llama-index-integrations/retrievers/llama-index-retrievers-pathway/tests/BUILD
@@ -1,3 +1,3 @@
 python_tests(
-  interpreter_constraints=["==3.10.*"],
+    interpreter_constraints=["==3.10.*"],
 )
diff --git a/llama-index-integrations/tools/llama-index-tools-google/BUILD b/llama-index-integrations/tools/llama-index-tools-google/BUILD
index b165cb04cf..2d3d88d1ea 100644
--- a/llama-index-integrations/tools/llama-index-tools-google/BUILD
+++ b/llama-index-integrations/tools/llama-index-tools-google/BUILD
@@ -5,7 +5,3 @@ poetry_requirements(
 python_requirements(
     name="reqs",
 )
-
-python_sources(
-    interpreter_constraints=["==3.9.*", "==3.10.*"],
-)
diff --git a/llama-index-integrations/tools/llama-index-tools-google/tests/BUILD b/llama-index-integrations/tools/llama-index-tools-google/tests/BUILD
index 5cd7615688..619cac15ff 100644
--- a/llama-index-integrations/tools/llama-index-tools-google/tests/BUILD
+++ b/llama-index-integrations/tools/llama-index-tools-google/tests/BUILD
@@ -1,3 +1,3 @@
 python_tests(
-  interpreter_constraints=["==3.9.*", "==3.10.*"],
+    interpreter_constraints=["==3.9.*", "==3.10.*"],
 )
diff --git a/llama-index-integrations/tools/llama-index-tools-ionic-shopping/BUILD b/llama-index-integrations/tools/llama-index-tools-ionic-shopping/BUILD
index 1ed383a98d..448a5d1af6 100644
--- a/llama-index-integrations/tools/llama-index-tools-ionic-shopping/BUILD
+++ b/llama-index-integrations/tools/llama-index-tools-ionic-shopping/BUILD
@@ -1,4 +1 @@
-poetry_requirements(
-    name="poetry",
-    module_mapping={"ionic-api-sdk": ["ionic"]}
-)
+poetry_requirements(name="poetry", module_mapping={"ionic-api-sdk": ["ionic"]})
diff --git a/llama-index-integrations/tools/llama-index-tools-text-to-image/BUILD b/llama-index-integrations/tools/llama-index-tools-text-to-image/BUILD
index 37fcc8b0e2..2d3d88d1ea 100644
--- a/llama-index-integrations/tools/llama-index-tools-text-to-image/BUILD
+++ b/llama-index-integrations/tools/llama-index-tools-text-to-image/BUILD
@@ -5,7 +5,3 @@ poetry_requirements(
 python_requirements(
     name="reqs",
 )
-
-python_sources(
-        interpreter_constraints=["==3.9.*", "==3.10.*"],
-)
diff --git a/llama-index-integrations/tools/llama-index-tools-text-to-image/tests/BUILD b/llama-index-integrations/tools/llama-index-tools-text-to-image/tests/BUILD
index 5cd7615688..619cac15ff 100644
--- a/llama-index-integrations/tools/llama-index-tools-text-to-image/tests/BUILD
+++ b/llama-index-integrations/tools/llama-index-tools-text-to-image/tests/BUILD
@@ -1,3 +1,3 @@
 python_tests(
-  interpreter_constraints=["==3.9.*", "==3.10.*"],
+    interpreter_constraints=["==3.9.*", "==3.10.*"],
 )
diff --git a/llama-index-integrations/vector_stores/llama-index-vector-stores-astra/tests/BUILD b/llama-index-integrations/vector_stores/llama-index-vector-stores-astra/tests/BUILD
index adca2b1c75..e09d64a617 100644
--- a/llama-index-integrations/vector_stores/llama-index-vector-stores-astra/tests/BUILD
+++ b/llama-index-integrations/vector_stores/llama-index-vector-stores-astra/tests/BUILD
@@ -1,5 +1,3 @@
-python_sources()
-
 python_tests(
     name="tests0",
 )
diff --git a/llama-index-integrations/vector_stores/llama-index-vector-stores-azurecosmosmongo/tests/BUILD b/llama-index-integrations/vector_stores/llama-index-vector-stores-azurecosmosmongo/tests/BUILD
index adca2b1c75..e09d64a617 100644
--- a/llama-index-integrations/vector_stores/llama-index-vector-stores-azurecosmosmongo/tests/BUILD
+++ b/llama-index-integrations/vector_stores/llama-index-vector-stores-azurecosmosmongo/tests/BUILD
@@ -1,5 +1,3 @@
-python_sources()
-
 python_tests(
     name="tests0",
 )
diff --git a/llama-index-integrations/vector_stores/llama-index-vector-stores-google/BUILD b/llama-index-integrations/vector_stores/llama-index-vector-stores-google/BUILD
index 8ccf08240e..0896ca890d 100644
--- a/llama-index-integrations/vector_stores/llama-index-vector-stores-google/BUILD
+++ b/llama-index-integrations/vector_stores/llama-index-vector-stores-google/BUILD
@@ -1,7 +1,3 @@
 poetry_requirements(
     name="poetry",
 )
-
-python_sources(
-        interpreter_constraints=["==3.9.*", "==3.10.*"],
-)
diff --git a/llama-index-integrations/vector_stores/llama-index-vector-stores-google/tests/BUILD b/llama-index-integrations/vector_stores/llama-index-vector-stores-google/tests/BUILD
index 5cd7615688..619cac15ff 100644
--- a/llama-index-integrations/vector_stores/llama-index-vector-stores-google/tests/BUILD
+++ b/llama-index-integrations/vector_stores/llama-index-vector-stores-google/tests/BUILD
@@ -1,3 +1,3 @@
 python_tests(
-  interpreter_constraints=["==3.9.*", "==3.10.*"],
+    interpreter_constraints=["==3.9.*", "==3.10.*"],
 )
diff --git a/llama-index-integrations/vector_stores/llama-index-vector-stores-weaviate/BUILD b/llama-index-integrations/vector_stores/llama-index-vector-stores-weaviate/BUILD
index c9785f1be0..648fab507e 100644
--- a/llama-index-integrations/vector_stores/llama-index-vector-stores-weaviate/BUILD
+++ b/llama-index-integrations/vector_stores/llama-index-vector-stores-weaviate/BUILD
@@ -1,4 +1 @@
-poetry_requirements(
-    name="poetry",
-    module_mapping={"weaviate-client": ["weaviate"]}
-)
+poetry_requirements(name="poetry", module_mapping={"weaviate-client": ["weaviate"]})
diff --git a/llama-index-legacy/tests/BUILD b/llama-index-legacy/tests/BUILD
index ab1fd52448..3dfabefa6b 100644
--- a/llama-index-legacy/tests/BUILD
+++ b/llama-index-legacy/tests/BUILD
@@ -1,8 +1,9 @@
+python_sources()
+
 python_test_utils(
     name="test_utils",
 )
 
-python_sources()
 
 python_tests(
     name="tests0",
diff --git a/llama-index-packs/llama-index-packs-agent-search-retriever/BUILD b/llama-index-packs/llama-index-packs-agent-search-retriever/BUILD
index 37fcc8b0e2..2d3d88d1ea 100644
--- a/llama-index-packs/llama-index-packs-agent-search-retriever/BUILD
+++ b/llama-index-packs/llama-index-packs-agent-search-retriever/BUILD
@@ -5,7 +5,3 @@ poetry_requirements(
 python_requirements(
     name="reqs",
 )
-
-python_sources(
-        interpreter_constraints=["==3.9.*", "==3.10.*"],
-)
diff --git a/llama-index-packs/llama-index-packs-agent-search-retriever/tests/BUILD b/llama-index-packs/llama-index-packs-agent-search-retriever/tests/BUILD
index 5cd7615688..619cac15ff 100644
--- a/llama-index-packs/llama-index-packs-agent-search-retriever/tests/BUILD
+++ b/llama-index-packs/llama-index-packs-agent-search-retriever/tests/BUILD
@@ -1,3 +1,3 @@
 python_tests(
-  interpreter_constraints=["==3.9.*", "==3.10.*"],
+    interpreter_constraints=["==3.9.*", "==3.10.*"],
 )
diff --git a/llama-index-packs/llama-index-packs-corrective-rag/BUILD b/llama-index-packs/llama-index-packs-corrective-rag/BUILD
index 0b67818b46..0896ca890d 100644
--- a/llama-index-packs/llama-index-packs-corrective-rag/BUILD
+++ b/llama-index-packs/llama-index-packs-corrective-rag/BUILD
@@ -1,5 +1,3 @@
-python_sources()
-
 poetry_requirements(
     name="poetry",
 )
diff --git a/llama-index-packs/llama-index-packs-gmail-openai-agent/BUILD b/llama-index-packs/llama-index-packs-gmail-openai-agent/BUILD
index a8f4940ed6..0896ca890d 100644
--- a/llama-index-packs/llama-index-packs-gmail-openai-agent/BUILD
+++ b/llama-index-packs/llama-index-packs-gmail-openai-agent/BUILD
@@ -1,7 +1,3 @@
 poetry_requirements(
     name="poetry",
 )
-
-python_sources(
-    interpreter_constraints=["==3.9.*", "==3.10.*"],
-)
diff --git a/llama-index-packs/llama-index-packs-gmail-openai-agent/tests/BUILD b/llama-index-packs/llama-index-packs-gmail-openai-agent/tests/BUILD
index 5cd7615688..619cac15ff 100644
--- a/llama-index-packs/llama-index-packs-gmail-openai-agent/tests/BUILD
+++ b/llama-index-packs/llama-index-packs-gmail-openai-agent/tests/BUILD
@@ -1,3 +1,3 @@
 python_tests(
-  interpreter_constraints=["==3.9.*", "==3.10.*"],
+    interpreter_constraints=["==3.9.*", "==3.10.*"],
 )
diff --git a/llama-index-packs/llama-index-packs-panel-chatbot/BUILD b/llama-index-packs/llama-index-packs-panel-chatbot/BUILD
index 37fcc8b0e2..2d3d88d1ea 100644
--- a/llama-index-packs/llama-index-packs-panel-chatbot/BUILD
+++ b/llama-index-packs/llama-index-packs-panel-chatbot/BUILD
@@ -5,7 +5,3 @@ poetry_requirements(
 python_requirements(
     name="reqs",
 )
-
-python_sources(
-        interpreter_constraints=["==3.9.*", "==3.10.*"],
-)
diff --git a/llama-index-packs/llama-index-packs-panel-chatbot/tests/BUILD b/llama-index-packs/llama-index-packs-panel-chatbot/tests/BUILD
index 5cd7615688..619cac15ff 100644
--- a/llama-index-packs/llama-index-packs-panel-chatbot/tests/BUILD
+++ b/llama-index-packs/llama-index-packs-panel-chatbot/tests/BUILD
@@ -1,3 +1,3 @@
 python_tests(
-  interpreter_constraints=["==3.9.*", "==3.10.*"],
+    interpreter_constraints=["==3.9.*", "==3.10.*"],
 )
diff --git a/llama-index-packs/llama-index-packs-ragatouille-retriever/BUILD b/llama-index-packs/llama-index-packs-ragatouille-retriever/BUILD
index 8ccf08240e..0896ca890d 100644
--- a/llama-index-packs/llama-index-packs-ragatouille-retriever/BUILD
+++ b/llama-index-packs/llama-index-packs-ragatouille-retriever/BUILD
@@ -1,7 +1,3 @@
 poetry_requirements(
     name="poetry",
 )
-
-python_sources(
-        interpreter_constraints=["==3.9.*", "==3.10.*"],
-)
diff --git a/llama-index-packs/llama-index-packs-ragatouille-retriever/tests/BUILD b/llama-index-packs/llama-index-packs-ragatouille-retriever/tests/BUILD
index 5cd7615688..619cac15ff 100644
--- a/llama-index-packs/llama-index-packs-ragatouille-retriever/tests/BUILD
+++ b/llama-index-packs/llama-index-packs-ragatouille-retriever/tests/BUILD
@@ -1,3 +1,3 @@
 python_tests(
-  interpreter_constraints=["==3.9.*", "==3.10.*"],
+    interpreter_constraints=["==3.9.*", "==3.10.*"],
 )
diff --git a/llama-index-packs/llama-index-packs-vanna/BUILD b/llama-index-packs/llama-index-packs-vanna/BUILD
index 37fcc8b0e2..2d3d88d1ea 100644
--- a/llama-index-packs/llama-index-packs-vanna/BUILD
+++ b/llama-index-packs/llama-index-packs-vanna/BUILD
@@ -5,7 +5,3 @@ poetry_requirements(
 python_requirements(
     name="reqs",
 )
-
-python_sources(
-        interpreter_constraints=["==3.9.*", "==3.10.*"],
-)
diff --git a/llama-index-packs/llama-index-packs-vanna/tests/BUILD b/llama-index-packs/llama-index-packs-vanna/tests/BUILD
index 5cd7615688..619cac15ff 100644
--- a/llama-index-packs/llama-index-packs-vanna/tests/BUILD
+++ b/llama-index-packs/llama-index-packs-vanna/tests/BUILD
@@ -1,3 +1,3 @@
 python_tests(
-  interpreter_constraints=["==3.9.*", "==3.10.*"],
+    interpreter_constraints=["==3.9.*", "==3.10.*"],
 )
diff --git a/pants.toml b/pants.toml
index e8c36629df..ffed2a5bec 100644
--- a/pants.toml
+++ b/pants.toml
@@ -10,6 +10,7 @@ remote_cache_read = true
 remote_cache_write = true
 remote_instance_name = "main"
 remote_store_address = "grpc://44.204.50.6:9092"
+unmatched_build_file_globs = "error"
 
 [black]
 config = "./pyproject.toml"
-- 
GitLab