Description
ACTION NEEDED: This version of pylint will be merged on 2025-07-14. The build will begin to fail for this library if errors are not fixed.
Library name: corehttp
Pylint version: 3.2.7
Pylint Build: Link to build (2025-04-20)
Pylint Errors:
2025-04-20T07:05:58.2360504Z ************* Module corehttp.transport.httpx._httpx
2025-04-20T07:05:58.2361611Z corehttp/transport/httpx/_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-20T07:05:58.2362280Z ************* Module corehttp.rest._httpx
2025-04-20T07:05:58.2362870Z corehttp/rest/_httpx.py:29: [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-20T07:05:58.2363350Z ************* Module corehttp.rest._aiohttp
2025-04-20T07:05:58.2364446Z corehttp/rest/_aiohttp.py:178: [W0221(arguments-differ), _CIMultiDict.get] Number of parameters was 0 in '_Base.get' and is now 3 in overriding '_CIMultiDict.get' method
2025-04-20T07:05:58.2364691Z
2025-04-20T07:05:58.2365029Z -----------------------------------
2025-04-20T07:05:58.2365379Z Your code has been rated at 9.99/10
2025-04-20T07:05:58.2365550Z
2025-04-20T07:06:00.2642182Z
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.
../corehttp>pip install "tox<5"
../corehttp>tox run -e next-pylint -c ../../../eng/tox/tox.ini --root .
See the Pylint Guide for more information.