[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
0130c1d1ff
commit
b931b0039b
18 changed files with 107 additions and 74 deletions
|
|
@ -26,7 +26,9 @@ def test_chunk_pages_splits_long_text():
|
|||
)
|
||||
assert len(chunks) > 1
|
||||
for chunk in chunks:
|
||||
assert _wc_counter(chunk.text) <= 55 # max + small slack from atomic split granularity
|
||||
assert (
|
||||
_wc_counter(chunk.text) <= 55
|
||||
) # max + small slack from atomic split granularity
|
||||
|
||||
|
||||
def test_chunk_pages_short_text_is_one_chunk():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue