multiple: Remove unnecessary Ruff suppression comments (#21050)

## Summary

I ran `ruff check --extend-select RUF100 -n` to identify `# noqa`
comments that weren't having any effect in Ruff, and then `ruff check
--extend-select RUF100 -n --fix` on select files to remove all of the
unnecessary `# noqa: F401` violations. It's possible that these were
needed at some point in the past, but they're not necessary in Ruff
v0.1.15 (used by LangChain) or in the latest release.

Co-authored-by: Erick Friis <erick@langchain.dev>
This commit is contained in:
Charlie Marsh
2024-04-30 10:13:48 -07:00
committed by GitHub
parent 748f2ba9ea
commit 8f38b7a725
45 changed files with 808 additions and 808 deletions

View File

@@ -23,8 +23,8 @@ def import_google() -> Tuple[Request, Credentials]:
"""
# google-auth-httplib2
try:
from google.auth.transport.requests import Request # noqa: F401
from google.oauth2.credentials import Credentials # noqa: F401
from google.auth.transport.requests import Request
from google.oauth2.credentials import Credentials
except ImportError:
raise ImportError(
"You need to install google-auth-httplib2 to use this toolkit. "