Skip to content

Commit

Permalink
skip lint checking for argument with default value in test_llms
Browse files Browse the repository at this point in the history
  • Loading branch information
maykcaldas committed Dec 9, 2024
1 parent 1e6eb78 commit cb16d19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_llms.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ async def test_single_completion(self, model_name: str) -> None:
assert result.messages[0].content

model = self.MODEL_CLS(name=model_name, config={"n": 2})
result = await model.call(messages, n=1)
result = await model.call(messages, n=1) # noqa: FURB120
assert isinstance(result, LLMResult)
assert result.messages
assert len(result.messages) == 1
Expand Down

0 comments on commit cb16d19

Please sign in to comment.