diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 9b892dc5fb2696e7de57a1fa41857fecd97a8196..c4974244c37eebf0467067b42be7089c8fbe731d 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -29,9 +29,9 @@ jobs:
         uses: snok/install-poetry@v1
         with:
           version: ${{ env.POETRY_VERSION }}
-      - name: Install deps
+      - name: Install pre-commit
         shell: bash
-        run: poetry install --with dev
+        run: poetry run pip install pre-commit
       - name: Run linter
         shell: bash
         run: poetry run make lint
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 6f9329703cfaf8a9df712b223eb1fb0ca56429ad..5dadc0771b69c0f6706e8bee68bfc22180934d6a 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -45,7 +45,7 @@ repos:
             "types-redis",
             "types-setuptools",
             "types-PyYAML",
-            "types-protobuf",
+            "types-protobuf==4.24.0.4",
           ]
         exclude: ^(docs/|llama_index/_static)
   - repo: https://github.com/psf/black-pre-commit-mirror
diff --git a/Makefile b/Makefile
index d35d30f7481e41106e2fa64387e77ac24c67dc7e..ac837c0bc5e6b2f0679868fc01bb30b54ddc6461 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,6 @@ format:	## Run code autoformatters (black).
 
 lint:	## Run linters: pre-commit (black, ruff, codespell) and mypy
 	pre-commit install && pre-commit run --all-files --show-diff-on-failure
-	mypy .
 
 test:	## Run tests via pytest.
 	pytest tests