Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
vbarda committed Nov 12, 2024
1 parent 0eb67b7 commit fdd656a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/_integration_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ jobs:
VOYAGE_API_KEY: ${{ secrets.VOYAGE_API_KEY }}
COHERE_API_KEY: ${{ secrets.COHERE_API_KEY }}
UPSTAGE_API_KEY: ${{ secrets.UPSTAGE_API_KEY }}
XAI_API_KEY: ${{ secrets.XAI_API_KEY }}
run: |
make integration_tests
Expand Down
3 changes: 3 additions & 0 deletions libs/partners/xai/tests/unit_tests/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import os

os.environ["XAI_API_KEY"] = "test"
1 change: 1 addition & 0 deletions libs/partners/xai/tests/unit_tests/test_chat_models.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import json

import pytest # type: ignore[import-not-found]

Check failure on line 3 in libs/partners/xai/tests/unit_tests/test_chat_models.py

View workflow job for this annotation

GitHub Actions / cd libs/partners/xai / make lint #3.9

Ruff (F401)

tests/unit_tests/test_chat_models.py:3:8: F401 `pytest` imported but unused
from langchain_core.messages import (
AIMessage,
FunctionMessage,
Expand Down

0 comments on commit fdd656a

Please sign in to comment.