Skip to content

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

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

Pylint Errors:

2025-04-06T11:20:42.2767872Z ************* Module azure.cosmos.aio._global_endpoint_manager_async
2025-04-06T11:20:42.2768694Z 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-06T11:20:42.2768941Z
2025-04-06T11:20:42.2769149Z ------------------------------------
2025-04-06T11:20:42.2769617Z Your code has been rated at 10.00/10
2025-04-06T11:20:42.2769748Z
2025-04-06T11:20:43.8688306Z

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

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions