Skip to content

Commit 959f554

Browse files
committed
refactor: ruff format
1 parent 202948a commit 959f554

1 file changed

Lines changed: 3 additions & 9 deletions

File tree

integration/test_tokenize.py

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -208,19 +208,15 @@ def test_tokenization_enum(
208208
(
209209
{
210210
"text": "the quick hello world",
211-
"stopwords": _StopwordsCreate(
212-
preset=None, additions=["hello"], removals=None
213-
),
211+
"stopwords": _StopwordsCreate(preset=None, additions=["hello"], removals=None),
214212
},
215213
["the", "quick", "hello", "world"],
216214
["quick", "world"],
217215
),
218216
(
219217
{
220218
"text": "the quick is fast",
221-
"stopwords": _StopwordsCreate(
222-
preset=None, additions=None, removals=["the"]
223-
),
219+
"stopwords": _StopwordsCreate(preset=None, additions=None, removals=["the"]),
224220
},
225221
["the", "quick", "is", "fast"],
226222
["the", "quick", "fast"],
@@ -294,9 +290,7 @@ def test_property_and_generic_endpoints_agree(
294290
stopwords = config.inverted_index_config.stopwords
295291

296292
text = "the quick brown fox"
297-
via_property = recipe_collection.config.tokenize_property(
298-
property_name="recipe", text=text
299-
)
293+
via_property = recipe_collection.config.tokenize_property(property_name="recipe", text=text)
300294
via_generic = client.tokenization.text(
301295
text=text,
302296
tokenization=recipe.tokenization,

0 commit comments

Comments
 (0)