mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-18 16:16:33 +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:
@@ -516,7 +516,7 @@ class TestCPALChain_MathWordProblems(unittest.TestCase):
|
||||
llm = OpenAI(temperature=0, max_tokens=512)
|
||||
cpal_chain = CPALChain.from_univariate_prompt(llm=llm, verbose=True)
|
||||
with pytest.raises(Exception) as e_info:
|
||||
print(e_info)
|
||||
print(e_info) # noqa: T201
|
||||
cpal_chain.run(narrative_input)
|
||||
|
||||
def test_causal_mediator(self) -> None:
|
||||
|
Reference in New Issue
Block a user