mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-07 22:11:51 +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:
@@ -37,7 +37,7 @@ def test_nlpcloud_api_key(monkeypatch: MonkeyPatch, capsys: CaptureFixture) -> N
|
||||
|
||||
assert cast(SecretStr, llm.nlpcloud_api_key).get_secret_value() == "secret-api-key"
|
||||
|
||||
print(llm.nlpcloud_api_key, end="")
|
||||
print(llm.nlpcloud_api_key, end="") # noqa: T201
|
||||
captured = capsys.readouterr()
|
||||
|
||||
assert captured.out == "**********"
|
||||
|
Reference in New Issue
Block a user