Skip to content

azure-core-experimental needs linting updates for pylint version 3.2.7 #39296

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

Pylint Errors:

2025-04-06T07:04:24.2458081Z ************* Module azure.core.experimental.transport._httpx
2025-04-06T07:04:24.2459349Z azure/core/experimental/transport/_httpx.py:28: [C4749(networking-import-outside-azure-core-transport), ] This import is not allowed here. Consider using an abstract alternative from azure.core.pipeline.transport.
2025-04-06T07:04:24.2460025Z ************* Module azure.core.experimental.transport._httpx_async
2025-04-06T07:04:24.2460534Z azure/core/experimental/transport/_httpx_async.py:28: [C4749(networking-import-outside-azure-core-transport), ] This import is not allowed here. Consider using an abstract alternative from azure.core.pipeline.transport.
2025-04-06T07:04:24.2460849Z
2025-04-06T07:04:24.2461135Z ------------------------------------------------------------------
2025-04-06T07:04:24.2461420Z Your code has been rated at 9.95/10 (previous run: 9.98/10, -0.03)
2025-04-06T07:04:24.2461563Z
2025-04-06T07:04:25.2694055Z

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

See the Pylint Guide for more information.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions