mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-12 00:11:17 +00:00
infra: add print rule to ruff (#16221)
Added noqa for existing prints. Can slowly remove / will prevent more being intro'd
This commit is contained in:
@@ -187,7 +187,7 @@ class Beam(LLM):
|
||||
do_sample=True, pad_token_id=tokenizer.eos_token_id)
|
||||
output = tokenizer.decode(outputs[0], skip_special_tokens=True)
|
||||
|
||||
print(output)
|
||||
print(output) # noqa: T201
|
||||
return {{"text": output}}
|
||||
|
||||
"""
|
||||
|
Reference in New Issue
Block a user