Skip to content

azure-cosmos needs linting updates for pylint version 3.2.7 #40191

Closed
@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-cosmos
Pylint version: 3.2.7
Pylint Build: Link to build (2025-04-13)

Pylint Errors:

2025-04-13T11:19:37.6252085Z ************* Module azure.cosmos.aio._global_endpoint_manager_async
2025-04-13T11:19:37.6253270Z azure/cosmos/aio/_global_endpoint_manager_async.py:28: [C4763(do-not-import-asyncio), ] Do not import the asyncio package directly in your library
2025-04-13T11:19:37.6254054Z
2025-04-13T11:19:37.6254616Z ------------------------------------
2025-04-13T11:19:37.6255042Z Your code has been rated at 10.00/10
2025-04-13T11:19:37.6255224Z
2025-04-13T11:19:39.3124707Z

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-cosmos>pip install "tox<5"
  2. ../azure-cosmos>tox run -e next-pylint -c ../../../eng/tox/tox.ini --root .

See the Pylint Guide for more information.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions