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

@@ -11,7 +11,7 @@ if __name__ == "__main__":
"\n\n1. John Travolta\n2. John McDonough",
)
]
print(agent_executor.invoke({"input": original_query})) # noqa: T201
print( # noqa: T201
print(agent_executor.invoke({"input": original_query}))
print(
agent_executor.invoke({"input": followup_query, "chat_history": chat_history})
)

View File

@@ -34,7 +34,7 @@ def store_movie_rating(movie: str, rating: int):
try:
return response[0]["response"]
except Exception as e:
print(e) # noqa: T201
print(e)
return "Something went wrong"