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

@@ -51,7 +51,7 @@ class TestMongoDBAtlasVectorSearch:
# insure the test collection is empty
collection = get_collection()
if collection.count_documents({}):
collection.delete_many({}) # type: ignore[index] # noqa: E501
collection.delete_many({}) # type: ignore[index]
@classmethod
def teardown_class(cls) -> None:

View File

@@ -46,7 +46,7 @@ class TestMongoDBAtlasVectorSearch:
def setup_class(cls) -> None:
# ensure the test collection is empty
collection = get_collection()
assert collection.count_documents({}) == 0 # type: ignore[index] # noqa: E501
assert collection.count_documents({}) == 0 # type: ignore[index]
@classmethod
def teardown_class(cls) -> None: