Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
P. Taylor Goetz committed May 25, 2024
1 parent cdd9459 commit 5b55ca3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 5 additions & 1 deletion backend/app/parsing.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
"""Module contains logic for parsing binary blobs into text."""
from langchain_community.document_loaders.parsers import BS4HTMLParser, PDFMinerParser, MarkdownParser
from langchain_community.document_loaders.parsers import (
BS4HTMLParser,
MarkdownParser,
PDFMinerParser,
)
from langchain_community.document_loaders.parsers.generic import MimeTypeBasedParser
from langchain_community.document_loaders.parsers.msword import MsWordParser
from langchain_community.document_loaders.parsers.txt import TextParser
Expand Down
3 changes: 2 additions & 1 deletion backend/tests/unit_tests/agent_executor/test_upload.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
from io import BytesIO

from langchain.text_splitter import RecursiveCharacterTextSplitter
from fastapi import UploadFile
from langchain.text_splitter import RecursiveCharacterTextSplitter

from app.upload import IngestRunnable, _guess_mimetype, convert_ingestion_input_to_blob
from tests.unit_tests.fixtures import get_sample_paths
from tests.unit_tests.utils import InMemoryVectorStore
Expand Down

0 comments on commit 5b55ca3

Please sign in to comment.