Skip to content

Commit

Permalink
remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
bjchambers committed Jan 16, 2025
1 parent 902b3e3 commit 7ba636a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 27 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,22 @@ jobs:

- name: Run `make fmt-check`
run: make fmt-check
# Runs this as long as setup succeeds.
if: ${{ !cancelled() && steps.setup.conclusion == 'success' }}

- name: Run `make check`
run: make check
# Runs this as long as setup succeeds.
if: ${{ !cancelled() && steps.setup.conclusion == 'success' }}

- name: Run `make check-lock`
run: make check-lock
# Runs this as long as setup succeeds.
if: ${{ !cancelled() && steps.setup.conclusion == 'success' }}

- name: Run `make deptry`
run: make deptry
# Runs this as long as setup succeeds.
if: ${{ !cancelled() && steps.setup.conclusion == 'success' }}

tests-and-type-check:
Expand Down
27 changes: 0 additions & 27 deletions tests/integration_tests/retrievers/conftest.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
import pytest
from langchain_core.documents import Document

from tests.integration_tests.invoker import invoker
from tests.integration_tests.retrievers.animal_docs import animal_docs, animal_store
from tests.integration_tests.retrievers.parser_docs import (
Expand Down Expand Up @@ -29,27 +26,3 @@
parser_store,
invoker,
)


@pytest.fixture(scope="module")
def hello_docs() -> list[Document]:
greetings = Document(
id="greetings",
page_content="Typical Greetings",
metadata={
"incoming": "parent",
},
)

doc1 = Document(
id="doc1",
page_content="Hello World",
metadata={"outgoing": "parent", "keywords": ["greeting", "world"]},
)

doc2 = Document(
id="doc2",
page_content="Hello Earth",
metadata={"outgoing": "parent", "keywords": ["greeting", "earth"]},
)
return [greetings, doc1, doc2]

0 comments on commit 7ba636a

Please sign in to comment.