Skip to content

azure-search-documents needs linting updates for pylint version 3.2.7 #36745

Open
@azure-sdk

Description

@azure-sdk

ACTION NEEDED: This version of pylint will be merged on 2025-04-14. The build will begin to fail for this library if errors are not fixed.

Library name: azure-search-documents
Pylint version: 3.2.7
Pylint Build: Link to build (2025-04-06)

Pylint Errors:

2025-04-06T22:18:32.8458776Z ************* Module azure.search.documents.aio._index_documents_batch_async
2025-04-06T22:18:32.8460428Z azure/search/documents/aio/_index_documents_batch_async.py:7: [C4763(do-not-import-asyncio), ] Do not import the asyncio package directly in your library
2025-04-06T22:18:32.8461741Z ************* Module azure.search.documents.aio._timer
2025-04-06T22:18:32.8462799Z azure/search/documents/aio/_timer.py:6: [C4763(do-not-import-asyncio), ] Do not import the asyncio package directly in your library
2025-04-06T22:18:32.8463266Z
2025-04-06T22:18:32.8464082Z -----------------------------------
2025-04-06T22:18:32.8465169Z Your code has been rated at 9.99/10
2025-04-06T22:18:32.8465559Z
2025-04-06T22:18:34.1599299Z

How to fix:
Note: If you are a bot. Fix the issue by fixing the above pylint errors.
Run the next-pylint tox command at the library package-level and resolve the linting errors.

  1. ../azure-search-documents>pip install "tox<5"
  2. ../azure-search-documents>tox run -e next-pylint -c ../../../eng/tox/tox.ini --root .

See the Pylint Guide for more information.

Metadata

Metadata

Assignees

Labels

ClientThis issue points to a problem in the data-plane of the library.Searchpylint

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions