infra: rm unused # noqa violations (#22049)

Updating #21137
This commit is contained in:
Bagatur
2024-05-22 15:21:08 -07:00
committed by GitHub
parent 45ed5f3f51
commit 50186da0a1
149 changed files with 212 additions and 214 deletions

View File

@@ -389,7 +389,7 @@ class ArxivAPIWrapper(BaseModel):
Returns:
List of ArxivPaper objects.
""" # noqa: E501
"""
def cut_authors(authors: list) -> list[str]:
if len(authors) > 3:

View File

@@ -186,7 +186,7 @@ def replace_imports(file):
data = code_block_re.sub(replacer, data)
# if all_imports:
# print(f"Adding {len(all_imports)} links for imports in {file}") # noqa: T201
# print(f"Adding {len(all_imports)} links for imports in {file}")
with open(file, "w") as f:
f.write(data)
return all_imports

View File

@@ -116,7 +116,7 @@ Each LLM integration can optionally provide native implementations for async, st
{table}
""" # noqa: E501
"""
CHAT_MODEL_TEMPLATE = """\
---
@@ -133,7 +133,7 @@ The following table shows all the chat models that support one or more advanced
{table}
""" # noqa: E501
"""
def get_llm_table():