Skip to content

Commit

Permalink
Chore: Code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed Nov 6, 2023
1 parent 9d38ea7 commit 73243a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ develop = [
"black<24",
"mypy==1.6.1",
"poethepoet<1",
"pyproject-fmt>=1.3,<1.5",
"pyproject-fmt<1.5,>=1.3",
"ruff==0.1.4",
"validate-pyproject<0.16",
]
Expand Down
5 changes: 2 additions & 3 deletions tests/test_nlp.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from pueblo.nlp.resource import CachedWebResource


def test_cached_web_resource():
from pueblo.nlp.resource import CachedWebResource

url = "https://github.com/langchain-ai/langchain/raw/v0.0.325/docs/docs/modules/state_of_the_union.txt"
docs = CachedWebResource(url).langchain_documents(chunk_size=1000, chunk_overlap=0)
assert len(docs) == 42
Expand Down

0 comments on commit 73243a9

Please sign in to comment.