Skip to content

Commit

Permalink
[chore] run ruff check and format
Browse files Browse the repository at this point in the history
  • Loading branch information
bhavnicksm committed Jan 7, 2025
1 parent e2ba00a commit 9c1d946
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 3 additions & 1 deletion src/chonkie/chunker/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@
from multiprocessing import Pool, cpu_count
from typing import Any, Callable, List, Union

from tqdm import tqdm

from chonkie.types import Chunk

from tqdm import tqdm

class BaseChunker(ABC):
"""Abstract base class for all chunker implementations.
Expand Down
4 changes: 3 additions & 1 deletion src/chonkie/chunker/token.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@

from typing import Any, Generator, List, Tuple, Union

from tqdm import trange

from chonkie.types import Chunk

from .base import BaseChunker

from tqdm import trange

class TokenChunker(BaseChunker):
"""Chunker that splits text into chunks of a specified token size.
Expand Down
1 change: 0 additions & 1 deletion src/chonkie/embeddings/auto.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""AutoEmbeddings is a factory class for automatically loading embeddings."""

import warnings
from typing import Any, Union

from .base import BaseEmbeddings
Expand Down

0 comments on commit 9c1d946

Please sign in to comment.