Skip to content

corehttp needs linting updates for pylint version 4.0.4 #45446

@azure-sdk

Description

@azure-sdk

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

Library name: corehttp
Pylint version: 4.0.4
Pylint Build: Link to build (2026-06-07)

Pylint Errors:

30
2026-06-07T07:10:25.1278086Z ===== OUTPUT: next-pylint :: /mnt/vss/_work/1/s/sdk/core/corehttp (exit 30) =====
2026-06-07T07:10:25.1278687Z Looking in indexes: https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-python/pypi/simple/, https://pypi.python.org/simple
2026-06-07T07:10:25.1279340Z Processing ./.wheels/azure_sdk_tools-0.0.0-py3-none-any.whl
2026-06-07T07:10:25.1280263Z Collecting certifi
2026-06-07T07:10:25.1280833Z Using cached certifi-2026.5.20-py3-none-any.whl (134 kB)
2026-06-07T07:10:25.1281281Z Collecting pytest-cov
2026-06-07T07:10:25.1281744Z Using cached pytest_cov-7.1.0-py3-none-any.whl (22 kB)
2026-06-07T07:10:25.1282106Z Collecting json-delta>=2.0
2026-06-07T07:10:25.1282442Z Using cached json_delta-2.0.2-py2.py3-none-any.whl (33 kB)
2026-06-07T07:10:25.1282763Z Collecting pyparsing
2026-06-07T07:10:25.1283115Z Using cached pyparsing-3.3.2-py3-none-any.whl (122 kB)
2026-06-07T07:10:25.1283528Z Collecting pytest-asyncio>=0.9.0
2026-06-07T07:10:25.1284189Z Using cached pytest_asyncio-1.4.0-py3-none-any.whl (16 kB)
2026-06-07T07:10:25.1284636Z Collecting wheel
2026-06-07T07:10:25.1284992Z Using cached wheel-0.47.0-py3-none-any.whl (32 kB)
2026-06-07T07:10:25.1285220Z Collecting urllib3
2026-06-07T07:10:25.1285443Z Using cached urllib3-2.7.0-py3-none-any.whl (131 kB)
2026-06-07T07:10:25.1285656Z Collecting PyYAML
2026-06-07T07:10:25.1285916Z Using cached pyyaml-6.0.3-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (770 kB)
2026-06-07T07:10:25.1286183Z Collecting ConfigArgParse>=0.12.0
2026-06-07T07:10:25.1286416Z Using cached configargparse-1.7.5-py3-none-any.whl (27 kB)
2026-06-07T07:10:25.1286643Z Collecting pytest>=3.5.1
2026-06-07T07:10:25.1286871Z Using cached pytest-9.0.3-py3-none-any.whl (375 kB)
2026-06-07T07:10:25.1287088Z Collecting tomli
2026-06-07T07:10:25.1287305Z Using cached tomli-2.4.1-py3-none-any.whl (14 kB)
2026-06-07T07:10:25.1287525Z Collecting pkginfo
2026-06-07T07:10:25.1287748Z Using cached pkginfo-1.12.1.2-py3-none-any.whl (32 kB)
2026-06-07T07:10:25.1288042Z Requirement already satisfied: setuptools in ./.venv/corehttp/.venv_next-pylint/lib/python3.10/site-packages (from azure-sdk-tools==0.0.0) (79.0.1)
2026-06-07T07:10:25.1288316Z Collecting packaging
2026-06-07T07:10:25.1288539Z Using cached packaging-26.2-py3-none-any.whl (100 kB)
2026-06-07T07:10:25.1288764Z Collecting tomli-w==1.0.0
2026-06-07T07:10:25.1288988Z Using cached tomli_w-1.0.0-py3-none-any.whl (6.0 kB)
2026-06-07T07:10:25.1289197Z Collecting build
2026-06-07T07:10:25.1289415Z Using cached build-1.5.0-py3-none-any.whl (26 kB)
2026-06-07T07:10:25.1290043Z Collecting python-dotenv
2026-06-07T07:10:25.1290594Z Using cached python_dotenv-1.2.2-py3-none-any.whl (22 kB)
2026-06-07T07:10:25.1291028Z Collecting Jinja2
2026-06-07T07:10:25.1291491Z Using cached jinja2-3.1.6-py3-none-any.whl (134 kB)
2026-06-07T07:10:25.1292082Z Collecting azure-core
2026-06-07T07:10:25.1292570Z Using cached azure_core-1.41.0-py3-none-any.whl (220 kB)
2026-06-07T07:10:25.1293013Z Collecting cibuildwheel==2.23.3
2026-06-07T07:10:25.1293479Z Using cached cibuildwheel-2.23.3-py3-none-any.whl (91 kB)
2026-06-07T07:10:25.1293943Z Collecting platformdirs
2026-06-07T07:10:25.1294411Z Using cached platformdirs-4.10.0-py3-none-any.whl (22 kB)
2026-06-07T07:10:25.1294839Z Collecting filelock
2026-06-07T07:10:25.1295295Z Using cached filelock-3.29.1-py3-none-any.whl (40 kB)
2026-06-07T07:10:25.1295726Z Collecting dependency-groups>=1.2
2026-06-07T07:10:25.1296185Z Using cached dependency_groups-1.3.1-py3-none-any.whl (8.7 kB)
2026-06-07T07:10:25.1296618Z Collecting bashlex!=0.13
2026-06-07T07:10:25.1297076Z Using cached bashlex-0.18-py2.py3-none-any.whl (69 kB)
2026-06-07T07:10:25.1297514Z Collecting typing-extensions>=4.1.0
2026-06-07T07:10:25.1297989Z Using cached typing_extensions-4.15.0-py3-none-any.whl (44 kB)
2026-06-07T07:10:25.1298443Z Collecting bracex
2026-06-07T07:10:25.1298895Z Using cached bracex-2.6-py3-none-any.whl (11 kB)
2026-06-07T07:10:25.1299332Z Collecting exceptiongroup>=1
2026-06-07T07:10:25.1299911Z Using cached exceptiongroup-1.3.1-py3-none-any.whl (16 kB)
2026-06-07T07:10:25.1300345Z Collecting pygments>=2.7.2
2026-06-07T07:10:25.1300812Z Using cached pygments-2.20.0-py3-none-any.whl (1.2 MB)
2026-06-07T07:10:25.1301238Z Collecting pluggy<2,>=1.5
2026-06-07T07:10:25.1301703Z Using cached pluggy-1.6.0-py3-none-any.whl (20 kB)
2026-06-07T07:10:25.1302133Z Collecting iniconfig>=1.0.1
2026-06-07T07:10:25.1302578Z Using cached iniconfig-2.3.0-py3-none-any.whl (7.5 kB)
2026-06-07T07:10:25.1303023Z Collecting backports-asyncio-runner<2,>=1.1
2026-06-07T07:10:25.1303489Z Using cached backports_asyncio_runner-1.2.0-py3-none-any.whl (12 kB)
2026-06-07T07:10:25.1303929Z Collecting requests>=2.21.0
2026-06-07T07:10:25.1304387Z Using cached requests-2.34.2-py3-none-any.whl (73 kB)
2026-06-07T07:10:25.1304842Z Collecting pyproject_hooks
2026-06-07T07:10:25.1305314Z Using cached pyproject_hooks-1.2.0-py3-none-any.whl (10 kB)
2026-06-07T07:10:25.1305968Z Collecting MarkupSafe>=2.0
2026-06-07T07:10:25.1306524Z Using cached markupsafe-3.0.3-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (20 kB)
2026-06-07T07:10:25.1307001Z Collecting coverage[toml]>=7.10.6
2026-06-07T07:10:25.1307503Z Using cached coverage-7.14.1-cp310-cp310-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (248 kB)
2026-06-07T07:10:25.1307961Z Collecting idna<4,>=2.5
2026-06-07T07:10:25.1308445Z Using cached idna-3.18-py3-none-any.whl (65 kB)
2026-06-07T07:10:25.1308914Z Collecting charset_normalizer<4,>=2
2026-06-07T07:10:25.1309438Z Using cached charset_normalizer-3.4.7-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (216 kB)
2026-06-07T07:10:25.1328201Z Installing collected packages: json-delta, urllib3, typing-extensions, tomli-w, tomli, PyYAML, python-dotenv, pyproject_hooks, pyparsing, pygments, pluggy, platformdirs, pkginfo, packaging, MarkupSafe, iniconfig, idna, filelock, coverage, ConfigArgParse, charset_normalizer, certifi, bracex, bashlex, backports-asyncio-runner, wheel, requests, Jinja2, exceptiongroup, dependency-groups, build, pytest, cibuildwheel, azure-core, pytest-cov, pytest-asyncio, azure-sdk-tools
2026-06-07T07:10:25.1329979Z Successfully installed ConfigArgParse-1.7.5 Jinja2-3.1.6 MarkupSafe-3.0.3 PyYAML-6.0.3 azure-core-1.41.0 azure-sdk-tools-0.0.0 backports-asyncio-runner-1.2.0 bashlex-0.18 bracex-2.6 build-1.5.0 certifi-2026.5.20 charset_normalizer-3.4.7 cibuildwheel-2.23.3 coverage-7.14.1 dependency-groups-1.3.1 exceptiongroup-1.3.1 filelock-3.29.1 idna-3.18 iniconfig-2.3.0 json-delta-2.0.2 packaging-26.2 pkginfo-1.12.1.2 platformdirs-4.10.0 pluggy-1.6.0 pygments-2.20.0 pyparsing-3.3.2 pyproject_hooks-1.2.0 pytest-9.0.3 pytest-asyncio-1.4.0 pytest-cov-7.1.0 python-dotenv-1.2.2 requests-2.34.2 tomli-2.4.1 tomli-w-1.0.0 typing-extensions-4.15.0 urllib3-2.7.0 wheel-0.47.0
2026-06-07T07:10:25.1331247Z Looking in indexes: https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-python/pypi/simple/, https://pypi.python.org/simple
2026-06-07T07:10:25.1331796Z Ignoring aiohttp: markers 'platform_python_implementation == "PyPy"' don't match your environment
2026-06-07T07:10:25.1332356Z Processing /mnt/vss/_work/1/s/.wheels/azure_sdk_tools-0.0.0-py3-none-any.whl
2026-06-07T07:10:25.1332831Z Processing /mnt/vss/_work/1/s/.wheels/coretestserver-1.0.0b1-py3-none-any.whl
2026-06-07T07:10:25.1333293Z Processing /mnt/vss/_work/1/s/.wheels/azure_core-1.41.0-py3-none-any.whl
2026-06-07T07:10:25.1333864Z Requirement already satisfied: requests in /mnt/vss/_work/1/s/.venv/corehttp/.venv_next-pylint/lib/python3.10/site-packages (from -r /mnt/vss/_work/1/s/sdk/core/corehttp/dev_requirements.txt (line 1)) (2.34.2)
2026-06-07T07:10:25.1334377Z Collecting aiohttp
2026-06-07T07:10:25.1334838Z Using cached aiohttp-3.14.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (1.7 MB)
2026-06-07T07:10:25.1335292Z Collecting httpx>=0.25.0
2026-06-07T07:10:25.1335696Z Downloading httpx-0.28.1-py3-none-any.whl (73 kB)
2026-06-07T07:10:25.1336465Z ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 73.5/73.5 kB 1.3 MB/s eta 0:00:00
2026-06-07T07:10:25.1336902Z Collecting azure-storage-blob
2026-06-07T07:10:25.1337322Z Using cached azure_storage_blob-12.29.0-py3-none-any.whl (434 kB)
2026-06-07T07:10:25.1337727Z Collecting azure-data-tables
2026-06-07T07:10:25.1338151Z Using cached azure_data_tables-12.7.0-py3-none-any.whl (133 kB)
2026-06-07T07:10:25.1338556Z Collecting azure-identity
2026-06-07T07:10:25.1338950Z Downloading azure_identity-1.25.3-py3-none-any.whl (192 kB)
2026-06-07T07:10:25.1339726Z ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 192.1/192.1 kB 2.2 MB/s eta 0:00:00
2026-06-07T07:10:25.1340233Z Collecting opentelemetry-sdk~=1.26
2026-06-07T07:10:25.1340671Z Using cached opentelemetry_sdk-1.42.1-py3-none-any.whl (170 kB)
2026-06-07T07:10:25.1341127Z Collecting opentelemetry-instrumentation-requests>=0.50b0
2026-06-07T07:10:25.1341743Z Using cached opentelemetry_instrumentation_requests-0.63b1-py3-none-any.whl (13 kB)
2026-06-07T07:10:25.1342358Z Requirement already satisfied: urllib3<3,>=1.26 in /mnt/vss/_work/1/s/.venv/corehttp/.venv_next-pylint/lib/python3.10/site-packages (from requests->-r /mnt/vss/_work/1/s/sdk/core/corehttp/dev_requirements.txt (line 1)) (2.7.0)
2026-06-07T07:10:25.1343087Z Requirement already satisfied: idna<4,>=2.5 in /mnt/vss/_work/1/s/.venv/corehttp/.venv_next-pylint/lib/python3.10/site-packages (from requests->-r /mnt/vss/_work/1/s/sdk/core/corehttp/dev_requirements.txt (line 1)) (3.18)
2026-06-07T07:10:25.1343822Z Requirement already satisfied: certifi>=2023.5.7 in /mnt/vss/_work/1/s/.venv/corehttp/.venv_next-pylint/lib/python3.10/site-packages (from requests->-r /mnt/vss/_work/1/s/sdk/core/corehttp/dev_requirements.txt (line 1)) (2026.5.20)
2026-06-07T07:10:25.1344592Z Requirement already satisfied: charset_normalizer<4,>=2 in /mnt/vss/_work/1/s/.venv/corehttp/.venv_next-pylint/lib/python3.10/site-packages (from requests->-r /mnt/vss/_work/1/s/sdk/core/corehttp/dev_requirements.txt (line 1)) (3.4.7)
2026-06-07T07:10:25.1345133Z Collecting aiosignal>=1.4.0
2026-06-07T07:10:25.1345522Z Using cached aiosignal-1.4.0-py3-none-any.whl (7.5 kB)
2026-06-07T07:10:25.1345913Z Collecting aiohappyeyeballs>=2.5.0
2026-06-07T07:10:25.1346317Z Using cached aiohappyeyeballs-2.6.2-py3-none-any.whl (15 kB)
2026-06-07T07:10:25.1346739Z Collecting async-timeout<6.0,>=4.0
2026-06-07T07:10:25.1347131Z Using cached async_timeout-5.0.1-py3-none-any.whl (6.2 kB)
2026-06-07T07:10:25.1347511Z Collecting attrs>=17.3.0
2026-06-07T07:10:25.1347900Z Using cached attrs-26.1.0-py3-none-any.whl (67 kB)
2026-06-07T07:10:25.1348286Z Collecting propcache>=0.2.0
2026-06-07T07:10:25.1348759Z Using cached propcache-0.5.2-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (60 kB)
2026-06-07T07:10:25.1349730Z Requirement already satisfied: typing_extensions>=4.4 in /mnt/vss/_work/1/s/.venv/corehttp/.venv_next-pylint/lib/python3.10/site-packages (from aiohttp->-r /mnt/vss/_work/1/s/sdk/core/corehttp/dev_requirements.txt (line 4)) (4.15.0)
2026-06-07T07:10:25.1350312Z Collecting multidict<7.0,>=4.5
2026-06-07T07:10:25.1350781Z Using cached multidict-6.7.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (243 kB)
2026-06-07T07:10:25.1351251Z Collecting yarl<2.0,>=1.17.0
2026-06-07T07:10:25.1351710Z Using cached yarl-1.24.2-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (106 kB)
2026-06-07T07:10:25.1352219Z Collecting frozenlist>=1.1.1
2026-06-07T07:10:25.1352652Z Using cached frozenlist-1.8.0-cp310-cp310-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (219 kB)
2026-06-07T07:10:25.1353073Z Collecting anyio
2026-06-07T07:10:25.1353438Z Using cached anyio-4.13.0-py3-none-any.whl (114 kB)
2026-06-07T07:10:25.1353812Z Collecting httpcore==1.*
2026-06-07T07:10:25.1354184Z Downloading httpcore-1.0.9-py3-none-any.whl (78 kB)
2026-06-07T07:10:25.1354814Z ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.8/78.8 kB 10.4 MB/s eta 0:00:00
2026-06-07T07:10:25.1355241Z Collecting h11>=0.16
2026-06-07T07:10:25.1355611Z Downloading h11-0.16.0-py3-none-any.whl (37 kB)
2026-06-07T07:10:25.1356206Z Requirement already satisfied: ConfigArgParse>=0.12.0 in /mnt/vss/_work/1/s/.venv/corehttp/.venv_next-pylint/lib/python3.10/site-packages (from azure-sdk-tools==0.0.0->-r /mnt/vss/_work/1/s/sdk/core/corehttp/dev_requirements.txt (line 6)) (1.7.5)
2026-06-07T07:10:25.1356988Z Requirement already satisfied: tomli in /mnt/vss/_work/1/s/.venv/corehttp/.venv_next-pylint/lib/python3.10/site-packages (from azure-sdk-tools==0.0.0->-r /mnt/vss/_work/1/s/sdk/core/corehttp/dev_requirements.txt (line 6)) (2.4.1)
2026-06-07T07:10:25.1357732Z Requirement already satisfied: Jinja2 in /mnt/vss/_work/1/s/.venv/corehttp/.venv_next-pylint/lib/python3.10/site-packages (from azure-sdk-tools==0.0.0->-r /mnt/vss/_work/1/s/sdk/core/corehttp/dev_requirements.txt (line 6)) (3.1.6)
2026-06-07T07:10:25.1358648Z Requirement already satisfied: pytest-asyncio>=0.9.0 in /mnt/vss/_work/1/s/.venv/corehttp/.venv_next-pylint/lib/python3.10/site-packages (from azure-sdk-tools==0.0.0->-r /mnt/vss/_work/1/s/sdk/core/corehttp/dev_requirements.txt (line 6)) (1.4.0)
2026-06-07T07:10:25.1359401Z Requirement already satisfied: pytest-cov in /mnt/vss/_work/1/s/.venv/corehttp/.venv_next-pylint/lib/python3.10/site-packages (from azure-sdk-tools==0.0.0->-r /mnt/vss/_work/1/s/sdk/core/corehttp/dev_requirements.txt (line 6)) (7.1.0)
2026-06-07T07:10:25.1360499Z Requirement already satisfied: setuptools in /mnt/vss/_work/1/s/.venv/corehttp/.venv_next-pylint/lib/python3.10/site-packages (from azure-sdk-tools==0.0.0->-r /mnt/vss/_work/1/s/sdk/core/corehttp/dev_requirements.txt (line 6)) (79.0.1)
2026-06-07T07:10:25.1361266Z Requirement already satisfied: pytest>=3.5.1 in /mnt/vss/_work/1/s/.venv/corehttp/.venv_next-pylint/lib/python3.10/site-packages (from azure-sdk-tools==0.0.0->-r /mnt/vss/_work/1/s/sdk/core/corehttp/dev_requirements.txt (line 6)) (9.0.3)
2026-06-07T07:10:25.1362029Z Requirement already satisfied: pkginfo in /mnt/vss/_work/1/s/.venv/corehttp/.venv_next-pylint/lib/python3.10/site-packages (from azure-sdk-tools==0.0.0->-r /mnt/vss/_work/1/s/sdk/core/corehttp/dev_requirements.txt (line 6)) (1.12.1.2)
2026-06-07T07:10:25.1362802Z Requirement already satisfied: cibuildwheel==2.23.3 in /mnt/vss/_work/1/s/.venv/corehttp/.venv_next-pylint/lib/python3.10/site-packages (from azure-sdk-tools==0.0.0->-r /mnt/vss/_work/1/s/sdk/core/corehttp/dev_requirements.txt (line 6)) (2.23.3)
2026-06-07T07:10:25.1363580Z Requirement already satisfied: tomli-w==1.0.0 in /mnt/vss/_work/1/s/.venv/corehttp/.venv_next-pylint/lib/python3.10/site-packages (from azure-sdk-tools==0.0.0->-r /mnt/vss/_work/1/s/sdk/core/corehttp/dev_requirements.txt (line 6)) (1.0.0)
2026-06-07T07:10:25.1364469Z Requirement already satisfied: wheel in /mnt/vss/_work/1/s/.venv/corehttp/.venv_next-pylint/lib/python3.10/site-packages (from azure-sdk-tools==0.0.0->-r /mnt/vss/_work/1/s/sdk/core/corehttp/dev_requirements.txt (line 6)) (0.47.0)
2026-06-07T07:10:25.1365229Z Requirement already satisfied: pyparsing in /mnt/vss/_work/1/s/.venv/corehttp/.venv_next-pylint/lib/python3.10/site-packages (from azure-sdk-tools==0.0.0->-r /mnt/vss/_work/1/s/sdk/core/corehttp/dev_requirements.txt (line 6)) (3.3.2)
2026-06-07T07:10:25.1365981Z Requirement already satisfied: packaging in /mnt/vss/_work/1/s/.venv/corehttp/.venv_next-pylint/lib/python3.10/site-packages (from azure-sdk-tools==0.0.0->-r /mnt/vss/_work/1/s/sdk/core/corehttp/dev_requirements.txt (line 6)) (26.2)
2026-06-07T07:10:25.1366726Z Requirement already satisfied: json-delta>=2.0 in /mnt/vss/_work/1/s/.venv/corehttp/.venv_next-pylint/lib/python3.10/site-packages (from azure-sdk-tools==0.0.0->-r /mnt/vss/_work/1/s/sdk/core/corehttp/dev_requirements.txt (line 6)) (2.0.2)
2026-06-07T07:10:25.1367500Z Requirement already satisfied: python-dotenv in /mnt/vss/_work/1/s/.venv/corehttp/.venv_next-pylint/lib/python3.10/site-packages (from azure-sdk-tools==0.0.0->-r /mnt/vss/_work/1/s/sdk/core/corehttp/dev_requirements.txt (line 6)) (1.2.2)
2026-06-07T07:10:25.1368261Z Requirement already satisfied: build in /mnt/vss/_work/1/s/.venv/corehttp/.venv_next-pylint/lib/python3.10/site-packages (from azure-sdk-tools==0.0.0->-r /mnt/vss/_work/1/s/sdk/core/corehttp/dev_requirements.txt (line 6)) (1.5.0)
2026-06-07T07:10:25.1369007Z Requirement already satisfied: PyYAML in /mnt/vss/_work/1/s/.venv/corehttp/.venv_next-pylint/lib/python3.10/site-packages (from azure-sdk-tools==0.0.0->-r /mnt/vss/_work/1/s/sdk/core/corehttp/dev_requirements.txt (line 6)) (6.0.3)
2026-06-07T07:10:25.1370019Z Requirement already satisfied: bashlex!=0.13 in /mnt/vss/_work/1/s/.venv/corehttp/.venv_next-pylint/lib/python3.10/site-packages (from cibuildwheel==2.23.3->azure-sdk-tools==0.0.0->-r /mnt/vss/_work/1/s/sdk/core/corehttp/dev_requirements.txt (line 6)) (0.18)
2026-06-07T07:10:25.1391894Z Requirement already satisfied: filelock in /mnt/vss/_work/1/s/.venv/corehttp/.venv_next-pylint/lib/python3.10/site-packages (from cibuildwheel==2.23.3->azure-sdk-tools==0.0.0->-r /mnt/vss/_work/1/s/sdk/core/corehttp/dev_requirements.txt (line 6)) (3.29.1)
2026-06-07T07:10:25.1393150Z Requirement already satisfied: bracex in /mnt/vss/_work/1/s/.venv/corehttp/.venv_next-pylint/lib/python3.10/site-packages (from cibuildwheel==2.23.3->azure-sdk-tools==0.0.0->-r /mnt/vss/_work/1/s/sdk/core/corehttp/dev_requirements.txt (line 6)) (2.6)
2026-06-07T07:10:25.1394046Z Requirement already satisfied: dependency-groups>=1.2 in /mnt/vss/_work/1/s/.venv/corehttp/.venv_next-pylint/lib/python3.10/site-packages (from cibuildwheel==2.23.3->azure-sdk-tools==0.0.0->-r /mnt/vss/_work/1/s/sdk/core/corehttp/dev_requirements.txt (line 6)) (1.3.1)
2026-06-07T07:10:25.1394939Z Requirement already satisfied: platformdirs in /mnt/vss/_work/1/s/.venv/corehttp/.venv_next-pylint/lib/python3.10/site-packages (from cibuildwheel==2.23.3->azure-sdk-tools==0.0.0->-r /mnt/vss/_work/1/s/sdk/core/corehttp/dev_requirements.txt (line 6)) (4.10.0)
2026-06-07T07:10:25.1395583Z Collecting flask==2.2.5
2026-06-07T07:10:25.1396007Z Using cached Flask-2.2.5-py3-none-any.whl (101 kB)
2026-06-07T07:10:25.1396442Z Collecting Werkzeug>=2.2.2
2026-06-07T07:10:25.1396881Z Using cached werkzeug-3.1.8-py3-none-any.whl (226 kB)
2026-06-07T07:10:25.1397314Z Collecting itsdangerous>=2.0
2026-06-07T07:10:25.1397748Z Using cached itsdangerous-2.2.0-py3-none-any.whl (16 kB)
2026-06-07T07:10:25.1398173Z Collecting click>=8.0
2026-06-07T07:10:25.1398605Z Using cached click-8.4.1-py3-none-any.whl (116 kB)
2026-06-07T07:10:25.1399028Z Collecting isodate>=0.6.1
2026-06-07T07:10:25.1399448Z Using cached isodate-0.7.2-py3-none-any.whl (22 kB)
2026-06-07T07:10:25.1400140Z Collecting cryptography>=2.1.4
2026-06-07T07:10:25.1400603Z Using cached cryptography-48.0.0-cp39-abi3-manylinux_2_34_x86_64.whl (4.7 MB)
2026-06-07T07:10:25.1401291Z Collecting msal-extensions>=1.2.0
2026-06-07T07:10:25.1401730Z Using cached msal_extensions-1.3.1-py3-none-any.whl (20 kB)
2026-06-07T07:10:25.1402157Z Collecting msal>=1.35.1
2026-06-07T07:10:25.1402582Z Using cached msal-1.37.0-py3-none-any.whl (123 kB)
2026-06-07T07:10:25.1403096Z Collecting opentelemetry-api==1.42.1
2026-06-07T07:10:25.1403557Z Using cached opentelemetry_api-1.42.1-py3-none-any.whl (61 kB)
2026-06-07T07:10:25.1404029Z Collecting opentelemetry-semantic-conventions==0.63b1
2026-06-07T07:10:25.1404517Z Using cached opentelemetry_semantic_conventions-0.63b1-py3-none-any.whl (203 kB)
2026-06-07T07:10:25.1405003Z Collecting opentelemetry-instrumentation==0.63b1
2026-06-07T07:10:25.1405482Z Using cached opentelemetry_instrumentation-0.63b1-py3-none-any.whl (35 kB)
2026-06-07T07:10:25.1405963Z Collecting opentelemetry-util-http==0.63b1
2026-06-07T07:10:25.1406424Z Using cached opentelemetry_util_http-0.63b1-py3-none-any.whl (8.2 kB)
2026-06-07T07:10:25.1406889Z Collecting wrapt<3.0.0,>=1.0.0
2026-06-07T07:10:25.1407387Z Using cached wrapt-2.2.1-cp310-cp310-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (152 kB)
2026-06-07T07:10:25.1407891Z Collecting cffi>=2.0.0
2026-06-07T07:10:25.1408360Z Using cached cffi-2.0.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (216 kB)
2026-06-07T07:10:25.1409045Z Requirement already satisfied: MarkupSafe>=2.0 in /mnt/vss/_work/1/s/.venv/corehttp/.venv_next-pylint/lib/python3.10/site-packages (from Jinja2->azure-sdk-tools==0.0.0->-r /mnt/vss/_work/1/s/sdk/core/corehttp/dev_requirements.txt (line 6)) (3.0.3)
2026-06-07T07:10:25.1410092Z Collecting PyJWT[crypto]<3,>=1.0.0
2026-06-07T07:10:25.1410574Z Using cached pyjwt-2.13.0-py3-none-any.whl (31 kB)
2026-06-07T07:10:25.1411224Z Requirement already satisfied: iniconfig>=1.0.1 in /mnt/vss/_work/1/s/.venv/corehttp/.venv_next-pylint/lib/python3.10/site-packages (from pytest>=3.5.1->azure-sdk-tools==0.0.0->-r /mnt/vss/_work/1/s/sdk/core/corehttp/dev_requirements.txt (line 6)) (2.3.0)
2026-06-07T07:10:25.1412074Z Requirement already satisfied: pluggy<2,>=1.5 in /mnt/vss/_work/1/s/.venv/corehttp/.venv_next-pylint/lib/python3.10/site-packages (from pytest>=3.5.1->azure-sdk-tools==0.0.0->-r /mnt/vss/_work/1/s/sdk/core/corehttp/dev_requirements.txt (line 6)) (1.6.0)
2026-06-07T07:10:25.1413085Z Requirement already satisfied: pygments>=2.7.2 in /mnt/vss/_work/1/s/.venv/corehttp/.venv_next-pylint/lib/python3.10/site-packages (from pytest>=3.5.1->azure-sdk-tools==0.0.0->-r /mnt/vss/_work/1/s/sdk/core/corehttp/dev_requirements.txt (line 6)) (2.20.0)
2026-06-07T07:10:25.1413952Z Requirement already satisfied: exceptiongroup>=1 in /mnt/vss/_work/1/s/.venv/corehttp/.venv_next-pylint/lib/python3.10/site-packages (from pytest>=3.5.1->azure-sdk-tools==0.0.0->-r /mnt/vss/_work/1/s/sdk/core/corehttp/dev_requirements.txt (line 6)) (1.3.1)
2026-06-07T07:10:25.1414838Z Requirement already satisfied: backports-asyncio-runner<2,>=1.1 in /mnt/vss/_work/1/s/.venv/corehttp/.venv_next-pylint/lib/python3.10/site-packages (from pytest-asyncio>=0.9.0->azure-sdk-tools==0.0.0->-r /mnt/vss/_work/1/s/sdk/core/corehttp/dev_requirements.txt (line 6)) (1.2.0)
2026-06-07T07:10:25.1415725Z Requirement already satisfied: pyproject_hooks in /mnt/vss/_work/1/s/.venv/corehttp/.venv_next-pylint/lib/python3.10/site-packages (from build->azure-sdk-tools==0.0.0->-r /mnt/vss/_work/1/s/sdk/core/corehttp/dev_requirements.txt (line 6)) (1.2.0)
2026-06-07T07:10:25.1416574Z Requirement already satisfied: coverage[toml]>=7.10.6 in /mnt/vss/_work/1/s/.venv/corehttp/.venv_next-pylint/lib/python3.10/site-packages (from pytest-cov->azure-sdk-tools==0.0.0->-r /mnt/vss/_work/1/s/sdk/core/corehttp/dev_requirements.txt (line 6)) (7.14.1)
2026-06-07T07:10:25.1417202Z Collecting pycparser
2026-06-07T07:10:25.1417632Z Using cached pycparser-3.0-py3-none-any.whl (48 kB)
2026-06-07T07:10:25.1418175Z azure-sdk-tools is already installed with the same version as the provided wheel. Use --force-reinstall to force an installation of the wheel.
2026-06-07T07:10:25.1418930Z azure-core is already installed with the same version as the provided wheel. Use --force-reinstall to force an installation of the wheel.
2026-06-07T07:10:25.1420728Z Installing collected packages: wrapt, Werkzeug, PyJWT, pycparser, propcache, opentelemetry-util-http, opentelemetry-api, multidict, itsdangerous, isodate, h11, frozenlist, click, attrs, async-timeout, aiohappyeyeballs, yarl, opentelemetry-semantic-conventions, httpcore, flask, cffi, anyio, aiosignal, opentelemetry-sdk, opentelemetry-instrumentation, httpx, cryptography, coretestserver, azure-data-tables, aiohttp, opentelemetry-instrumentation-requests, azure-storage-blob, msal, msal-extensions, azure-identity
2026-06-07T07:10:25.1422496Z Successfully installed PyJWT-2.13.0 Werkzeug-3.1.8 aiohappyeyeballs-2.6.2 aiohttp-3.14.0 aiosignal-1.4.0 anyio-4.13.0 async-timeout-5.0.1 attrs-26.1.0 azure-data-tables-12.7.0 azure-identity-1.25.3 azure-storage-blob-12.29.0 cffi-2.0.0 click-8.4.1 coretestserver-1.0.0b1 cryptography-48.0.0 flask-2.2.5 frozenlist-1.8.0 h11-0.16.0 httpcore-1.0.9 httpx-0.28.1 isodate-0.7.2 itsdangerous-2.2.0 msal-1.37.0 msal-extensions-1.3.1 multidict-6.7.1 opentelemetry-api-1.42.1 opentelemetry-instrumentation-0.63b1 opentelemetry-instrumentation-requests-0.63b1 opentelemetry-sdk-1.42.1 opentelemetry-semantic-conventions-0.63b1 opentelemetry-util-http-0.63b1 propcache-0.5.2 pycparser-3.0 wrapt-2.2.1 yarl-1.24.2
2026-06-07T07:10:25.1423872Z Looking in indexes: https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-python/pypi/simple/, https://pypi.python.org/simple
2026-06-07T07:10:25.1424478Z Processing ./corehttp-1.0.0b8.tar.gz
2026-06-07T07:10:25.1424968Z Installing build dependencies: started
2026-06-07T07:10:25.1425479Z Installing build dependencies: finished with status 'done'
2026-06-07T07:10:25.1426008Z Getting requirements to build wheel: started
2026-06-07T07:10:25.1426535Z Getting requirements to build wheel: finished with status 'done'
2026-06-07T07:10:25.1427060Z Preparing metadata (pyproject.toml): started
2026-06-07T07:10:25.1427562Z Preparing metadata (pyproject.toml): finished with status 'done'
2026-06-07T07:10:25.1428363Z Requirement already satisfied: typing-extensions>=4.6.0 in /mnt/vss/_work/1/s/.venv/corehttp/.venv_next-pylint/lib/python3.10/site-packages (from corehttp==1.0.0b8) (4.15.0)
2026-06-07T07:10:25.1429021Z Building wheels for collected packages: corehttp
2026-06-07T07:10:25.1429767Z Building wheel for corehttp (pyproject.toml): started
2026-06-07T07:10:25.1430347Z Building wheel for corehttp (pyproject.toml): finished with status 'done'
2026-06-07T07:10:25.1431004Z Created wheel for corehttp: filename=corehttp-1.0.0b8-py3-none-any.whl size=122622 sha256=e7032492dc3eb6d7ae6f9191d93c4e0750df9b94b78b865481ee92b9bc9b12fd
2026-06-07T07:10:25.1431713Z Stored in directory: /home/cloudtest/.cache/pip/wheels/46/b7/7c/2915b3f15ce4957f0b0b6c8cecbdd440fc10d517dc8c6bf971
2026-06-07T07:10:25.1432279Z Successfully built corehttp
2026-06-07T07:10:25.1432772Z Installing collected packages: corehttp
2026-06-07T07:10:25.1433279Z Successfully installed corehttp-1.0.0b8
2026-06-07T07:10:25.1433545Z
2026-06-07T07:10:25.1433974Z ------------------------------------
2026-06-07T07:10:25.1434459Z Your code has been rated at 10.00/10
2026-06-07T07:10:25.1434712Z
2026-06-07T07:10:25.1435162Z ************* Module test_universal_pipeline
2026-06-07T07:10:25.1435806Z tests/test_universal_pipeline.py:58: [W0102(dangerous-default-value), test_request_history.Non_deep_copyable.deepcopy] Dangerous default value {} as argument
2026-06-07T07:10:25.1436605Z tests/test_universal_pipeline.py:71: [W0102(dangerous-default-value), test_request_history_type_error.Non_deep_copyable.deepcopy] Dangerous default value {} as argument
2026-06-07T07:10:25.1437405Z tests/test_universal_pipeline.py:152: [E0213(no-self-argument), test_retry_without_http_response.NaughtyPolicy.send] Method 'send' should have "self" as first argument
2026-06-07T07:10:25.1438302Z tests/test_universal_pipeline.py:162: [R0915(too-many-statements), test_raw_deserializer] Too many statements (92/50)
2026-06-07T07:10:25.1439286Z tests/test_universal_pipeline.py:25: [C0411(wrong-import-order), ] third party import "utils.HTTP_RESPONSES" should be placed before first party imports "corehttp.exceptions.DecodeError", "corehttp.rest.HttpRequest", "corehttp.runtime.pipeline.Pipeline", "corehttp.runtime.policies.NetworkTraceLoggingPolicy", "corehttp.rest._requests_basic.RestRequestsTransportResponse"
2026-06-07T07:10:25.1440483Z tests/test_universal_pipeline.py:8: [W0611(unused-import), ] Unused product imported from itertools
2026-06-07T07:10:25.1441041Z ************* Module test_rest_http_response
2026-06-07T07:10:25.1441650Z tests/test_rest_http_response.py:32: [W0621(redefined-outer-name), test_response] Redefining name 'send_request' from outer scope (line 21)
2026-06-07T07:10:25.1442409Z tests/test_rest_http_response.py:42: [W0621(redefined-outer-name), test_response_content] Redefining name 'send_request' from outer scope (line 21)
2026-06-07T07:10:25.1443172Z tests/test_rest_http_response.py:50: [W0621(redefined-outer-name), test_response_text] Redefining name 'send_request' from outer scope (line 21)
2026-06-07T07:10:25.1443913Z tests/test_rest_http_response.py:61: [W0621(redefined-outer-name), test_response_html] Redefining name 'send_request' from outer scope (line 21)
2026-06-07T07:10:25.1444637Z tests/test_rest_http_response.py:91: [W0621(redefined-outer-name), test_response_repr] Redefining name 'send_request' from outer scope (line 21)
2026-06-07T07:10:25.1445376Z tests/test_rest_http_response.py:97: [W0621(redefined-outer-name), test_response_content_type_encoding] Redefining name 'send_request' from outer scope (line 21)
2026-06-07T07:10:25.1446320Z tests/test_rest_http_response.py:108: [W0621(redefined-outer-name), test_response_autodetect_encoding] Redefining name 'send_request' from outer scope (line 21)
2026-06-07T07:10:25.1447112Z tests/test_rest_http_response.py:119: [W0621(redefined-outer-name), test_response_fallback_to_autodetect] Redefining name 'send_request' from outer scope (line 21)
2026-06-07T07:10:25.1448063Z tests/test_rest_http_response.py:131: [W0621(redefined-outer-name), test_response_no_charset_with_ascii_content] Redefining name 'send_request' from outer scope (line 21)
2026-06-07T07:10:25.1448870Z tests/test_rest_http_response.py:144: [W0621(redefined-outer-name), test_response_no_charset_with_iso_8859_1_content] Redefining name 'send_request' from outer scope (line 21)
2026-06-07T07:10:25.1449870Z tests/test_rest_http_response.py:155: [W0621(redefined-outer-name), test_json] Redefining name 'send_request' from outer scope (line 21)
2026-06-07T07:10:25.1450684Z tests/test_rest_http_response.py:162: [W0621(redefined-outer-name), test_json_with_specified_encoding] Redefining name 'send_request' from outer scope (line 21)
2026-06-07T07:10:25.1451430Z tests/test_rest_http_response.py:169: [W0621(redefined-outer-name), test_emoji] Redefining name 'send_request' from outer scope (line 21)
2026-06-07T07:10:25.1452194Z tests/test_rest_http_response.py:175: [W0621(redefined-outer-name), test_emoji_family_with_skin_tone_modifier] Redefining name 'send_request' from outer scope (line 21)
2026-06-07T07:10:25.1452970Z tests/test_rest_http_response.py:181: [W0621(redefined-outer-name), test_korean_nfc] Redefining name 'send_request' from outer scope (line 21)
2026-06-07T07:10:25.1453716Z tests/test_rest_http_response.py:187: [W0621(redefined-outer-name), test_urlencoded_content] Redefining name 'send_request' from outer scope (line 21)
2026-06-07T07:10:25.1454513Z tests/test_rest_http_response.py:197: [W0621(redefined-outer-name), test_multipart_files_content] Redefining name 'send_request' from outer scope (line 21)
2026-06-07T07:10:25.1455300Z tests/test_rest_http_response.py:207: [W0621(redefined-outer-name), test_multipart_data_and_files_content] Redefining name 'send_request' from outer scope (line 21)
2026-06-07T07:10:25.1456084Z tests/test_rest_http_response.py:218: [W0621(redefined-outer-name), test_multipart_encode_non_seekable_filelike] Redefining name 'send_request' from outer scope (line 21)
2026-06-07T07:10:25.1457030Z tests/test_rest_http_response.py:228: [W0613(unused-argument), test_multipart_encode_non_seekable_filelike.IteratorIO.read] Unused argument 'args'
2026-06-07T07:10:25.1457781Z tests/test_rest_http_response.py:246: [W0621(redefined-outer-name), test_get_xml_basic] Redefining name 'send_request' from outer scope (line 21)
2026-06-07T07:10:25.1458516Z tests/test_rest_http_response.py:261: [W0621(redefined-outer-name), test_put_xml_basic] Redefining name 'send_request' from outer scope (line 21)
2026-06-07T07:10:25.1459263Z tests/test_rest_http_response.py:288: [W0621(redefined-outer-name), test_text_and_encoding] Redefining name 'send_request' from outer scope (line 21)
2026-06-07T07:10:25.1460344Z tests/test_rest_http_response.py:303: [W0621(redefined-outer-name), test_passing_encoding_to_text] Redefining name 'send_request' from outer scope (line 21)
2026-06-07T07:10:25.1461079Z tests/test_rest_http_response.py:317: [E0110(abstract-class-instantiated), test_initialize_response_abc] Abstract class 'HttpResponse' with abstract methods instantiated
2026-06-07T07:10:25.1461798Z tests/test_rest_http_response.py:322: [W0621(redefined-outer-name), test_readonly] Redefining name 'send_request' from outer scope (line 21)
2026-06-07T07:10:25.1462657Z tests/test_rest_http_response.py:14: [C0411(wrong-import-order), ] standard import "xml.etree.ElementTree" should be placed before third party import "pytest" and first party imports "corehttp.rest.HttpRequest", "corehttp.rest._requests_basic.RestRequestsTransportResponse", "corehttp.exceptions.HttpResponseError"
2026-06-07T07:10:25.1463663Z tests/test_rest_http_response.py:16: [C0411(wrong-import-order), ] third party import "rest_client.MockRestClient" should be placed before first party imports "corehttp.rest.HttpRequest", "corehttp.rest._requests_basic.RestRequestsTransportResponse", "corehttp.exceptions.HttpResponseError"
2026-06-07T07:10:25.1464665Z tests/test_rest_http_response.py:17: [C0411(wrong-import-order), ] third party import "utils.readonly_checks" should be placed before first party imports "corehttp.rest.HttpRequest", "corehttp.rest._requests_basic.RestRequestsTransportResponse", "corehttp.exceptions.HttpResponseError"
2026-06-07T07:10:25.1465625Z tests/test_rest_http_response.py:12: [W0611(unused-import), ] Unused RestRequestsTransportResponse imported from corehttp.rest._requests_basic
2026-06-07T07:10:25.1466180Z ************* Module test_serialization
2026-06-07T07:10:25.1466721Z tests/test_serialization.py:21: [R1705(no-else-return), _expand_value] Unnecessary "elif" after "return", remove the leading "el" from "elif"
2026-06-07T07:10:25.1467338Z tests/test_serialization.py:56: [W0613(unused-argument), NegativeUtcOffset.utcoffset] Unused argument 'dt'
2026-06-07T07:10:25.1467929Z tests/test_serialization.py:59: [W0613(unused-argument), NegativeUtcOffset.dst] Unused argument 'dt'
2026-06-07T07:10:25.1468517Z tests/test_serialization.py:62: [W0613(unused-argument), NegativeUtcOffset.tzname] Unused argument 'dt'
2026-06-07T07:10:25.1469123Z tests/test_serialization.py:73: [W0613(unused-argument), PositiveUtcOffset.utcoffset] Unused argument 'dt'
2026-06-07T07:10:25.1470205Z tests/test_serialization.py:76: [W0613(unused-argument), PositiveUtcOffset.dst] Unused argument 'dt'
2026-06-07T07:10:25.1470914Z tests/test_serialization.py:79: [W0613(unused-argument), PositiveUtcOffset.tzname] Unused argument 'dt'
2026-06-07T07:10:25.1471657Z tests/test_serialization.py:86: [R0124(comparison-with-itself), test_NULL_is_falsy] Redundant comparison - NULL is NULL
2026-06-07T07:10:25.1472378Z tests/test_serialization.py:97: [W0621(redefined-outer-name), test_bytes] Redefining name 'json_dumps_with_encoder' from outer scope (line 90)
2026-06-07T07:10:25.1473095Z tests/test_serialization.py:98: [W0621(redefined-outer-name), test_bytes] Redefining name 'test_bytes' from outer scope (line 97)
2026-06-07T07:10:25.1473993Z tests/test_serialization.py:103: [W0621(redefined-outer-name), test_byte_array_ascii] Redefining name 'json_dumps_with_encoder' from outer scope (line 90)
2026-06-07T07:10:25.1474771Z tests/test_serialization.py:109: [W0621(redefined-outer-name), test_byte_array_utf8] Redefining name 'json_dumps_with_encoder' from outer scope (line 90)
2026-06-07T07:10:25.1475538Z tests/test_serialization.py:115: [W0621(redefined-outer-name), test_byte_array_utf16] Redefining name 'json_dumps_with_encoder' from outer scope (line 90)
2026-06-07T07:10:25.1476307Z tests/test_serialization.py:121: [W0621(redefined-outer-name), test_dictionary_basic] Redefining name 'json_dumps_with_encoder' from outer scope (line 90)
2026-06-07T07:10:25.1477047Z tests/test_serialization.py:134: [W0621(redefined-outer-name), test_model_basic] Redefining name 'json_dumps_with_encoder' from outer scope (line 90)
2026-06-07T07:10:25.1477815Z tests/test_serialization.py:157: [W0621(redefined-outer-name), test_dictionary_datetime] Redefining name 'json_dumps_with_encoder' from outer scope (line 90)
2026-06-07T07:10:25.1478578Z tests/test_serialization.py:173: [W0621(redefined-outer-name), test_model_datetime] Redefining name 'json_dumps_with_encoder' from outer scope (line 90)
2026-06-07T07:10:25.1479357Z tests/test_serialization.py:191: [W0621(redefined-outer-name), test_model_key_vault] Redefining name 'json_dumps_with_encoder' from outer scope (line 90)
2026-06-07T07:10:25.1480406Z tests/test_serialization.py:246: [W0621(redefined-outer-name), test_serialize_datetime] Redefining name 'json_dumps_with_encoder' from outer scope (line 90)
2026-06-07T07:10:25.1481197Z tests/test_serialization.py:280: [W0621(redefined-outer-name), test_serialize_datetime_subclass] Redefining name 'json_dumps_with_encoder' from outer scope (line 90)
2026-06-07T07:10:25.1481969Z tests/test_serialization.py:287: [W0621(redefined-outer-name), test_serialize_time] Redefining name 'json_dumps_with_encoder' from outer scope (line 90)
2026-06-07T07:10:25.1482733Z tests/test_serialization.py:312: [W0621(redefined-outer-name), test_dictionary_enum] Redefining name 'json_dumps_with_encoder' from outer scope (line 90)
2026-06-07T07:10:25.1483631Z tests/test_serialization.py:329: [W0621(redefined-outer-name), test_model_enum] Redefining name 'json_dumps_with_encoder' from outer scope (line 90)
2026-06-07T07:10:25.1484370Z tests/test_serialization.py:349: [W0621(redefined-outer-name), test_dictionary_none] Redefining name 'json_dumps_with_encoder' from outer scope (line 90)
2026-06-07T07:10:25.1485119Z tests/test_serialization.py:355: [W0621(redefined-outer-name), test_model_none] Redefining name 'json_dumps_with_encoder' from outer scope (line 90)
2026-06-07T07:10:25.1485893Z tests/test_serialization.py:365: [W0621(redefined-outer-name), test_dictionary_empty_collections] Redefining name 'json_dumps_with_encoder' from outer scope (line 90)
2026-06-07T07:10:25.1486674Z tests/test_serialization.py:375: [W0621(redefined-outer-name), test_model_empty_collections] Redefining name 'json_dumps_with_encoder' from outer scope (line 90)
2026-06-07T07:10:25.1487450Z tests/test_serialization.py:389: [W0621(redefined-outer-name), test_model_inheritance] Redefining name 'json_dumps_with_encoder' from outer scope (line 90)
2026-06-07T07:10:25.1488221Z tests/test_serialization.py:407: [W0621(redefined-outer-name), test_model_recursion] Redefining name 'json_dumps_with_encoder' from outer scope (line 90)
2026-06-07T07:10:25.1489070Z tests/test_serialization.py:12: [C0411(wrong-import-order), ] third party import "pytest" should be placed before first party import "corehttp.serialization.CoreJSONEncoder"
2026-06-07T07:10:25.1490288Z ************* Module test_streaming
2026-06-07T07:10:25.1491813Z tests/test_streaming.py:26: [C0411(wrong-import-order), ] third party import "utils.SYNC_TRANSPORTS" should be placed before first party imports "corehttp.rest.HttpRequest", "corehttp.runtime.PipelineClient", "corehttp.exceptions.DecodeError"
2026-06-07T07:10:25.1492594Z ************* Module test_requests_universal
2026-06-07T07:10:25.1496597Z tests/test_requests_universal.py:12: [C0411(wrong-import-order), ] third party import "utils.create_transport_response" should be placed before first party imports "corehttp.rest.HttpRequest", "corehttp.transport.requests.RequestsTransport", "corehttp.rest._requests_basic.RestRequestsTransportResponse"
2026-06-07T07:10:25.1497513Z tests/test_requests_universal.py:12: [W0611(unused-import), ] Unused SYNC_TRANSPORT_RESPONSES imported from utils
2026-06-07T07:10:25.1498103Z ************* Module test_paging
2026-06-07T07:10:25.1498738Z tests/test_paging.py:18: [R1705(no-else-return), TestPaging.test_basic_paging.get_next] Unnecessary "else" after "return", remove the "else" and de-indent the code inside it
2026-06-07T07:10:25.1499742Z tests/test_paging.py:34: [R1705(no-else-return), TestPaging.test_by_page_paging.get_next] Unnecessary "else" after "return", remove the "else" and de-indent the code inside it
2026-06-07T07:10:25.1500563Z tests/test_paging.py:55: [R1705(no-else-return), TestPaging.test_advance_paging.get_next] Unnecessary "else" after "return", remove the "else" and de-indent the code inside it
2026-06-07T07:10:25.1501320Z tests/test_paging.py:78: [W0613(unused-argument), TestPaging.test_none_value.get_next] Unused argument 'continuation_token'
2026-06-07T07:10:25.1502015Z tests/test_paging.py:89: [W0613(unused-argument), TestPaging.test_print.get_next] Unused argument 'continuation_token'
2026-06-07T07:10:25.1502752Z tests/test_paging.py:101: [R1705(no-else-return), TestPaging.test_paging_continue_on_error.get_next] Unnecessary "else" after "return", remove the "else" and de-indent the code inside it
2026-06-07T07:10:25.1503653Z tests/test_paging.py:11: [C0411(wrong-import-order), ] third party import "pytest" should be placed before first party imports "corehttp.paging.ItemPaged", "corehttp.exceptions.HttpResponseError"
2026-06-07T07:10:25.1504326Z ************* Module test_tracing_policy
2026-06-07T07:10:25.1505210Z tests/test_tracing_policy.py:20: [C0411(wrong-import-order), ] third party import "opentelemetry.trace.format_span_id" should be placed before first party imports "corehttp.rest.HttpRequest", "corehttp.runtime.policies.DistributedHttpTracingPolicy", "corehttp.settings.settings", "corehttp.runtime.pipeline.PipelineRequest", "corehttp.transport.HttpTransport", "corehttp.transport.requests.RequestsTransport"
2026-06-07T07:10:25.1506676Z tests/test_tracing_policy.py:21: [C0411(wrong-import-order), ] third party import "opentelemetry.instrumentation.requests.RequestsInstrumentor" should be placed before first party imports "corehttp.rest.HttpRequest", "corehttp.runtime.policies.DistributedHttpTracingPolicy", "corehttp.settings.settings", "corehttp.runtime.pipeline.PipelineRequest", "corehttp.transport.HttpTransport", "corehttp.transport.requests.RequestsTransport"
2026-06-07T07:10:25.1507999Z tests/test_tracing_policy.py:23: [C0411(wrong-import-order), ] third party import "utils.HTTP_RESPONSES" should be placed before first party imports "corehttp.rest.HttpRequest", "corehttp.runtime.policies.DistributedHttpTracingPolicy", "corehttp.settings.settings", "corehttp.runtime.pipeline.PipelineRequest", "corehttp.transport.HttpTransport", "corehttp.transport.requests.RequestsTransport"
2026-06-07T07:10:25.1508891Z ************* Module test_exceptions
2026-06-07T07:10:25.1509431Z tests/test_exceptions.py:98: [C0301(line-too-long), ] Line too long (162/120)
2026-06-07T07:10:25.1510344Z tests/test_exceptions.py:7: [C0411(wrong-import-order), ] standard import "unittest.mock.Mock" should be placed before third party import "pytest"
2026-06-07T07:10:25.1511154Z tests/test_exceptions.py:17: [C0411(wrong-import-order), ] third party import "rest_client.MockRestClient" should be placed before first party imports "corehttp.exceptions.HttpResponseError", "corehttp.rest.HttpRequest"
2026-06-07T07:10:25.1512017Z tests/test_exceptions.py:18: [C0411(wrong-import-order), ] third party import "utils.SYNC_TRANSPORTS" should be placed before first party imports "corehttp.exceptions.HttpResponseError", "corehttp.rest.HttpRequest"
2026-06-07T07:10:25.1512847Z ************* Module test_error_map
2026-06-07T07:10:25.1513542Z tests/test_error_map.py:14: [C0411(wrong-import-order), ] third party import "utils.create_http_response" should be placed before first party imports "corehttp.rest.HttpRequest", "corehttp.exceptions.ResourceNotFoundError"
2026-06-07T07:10:25.1514238Z ************* Module rest_client
2026-06-07T07:10:25.1514856Z tests/rest_client.py:7: [C0411(wrong-import-order), ] standard import "copy.deepcopy" should be placed before first party import "corehttp.runtime.PipelineClient"
2026-06-07T07:10:25.1515498Z ************* Module test_stream_generator
2026-06-07T07:10:25.1516127Z tests/test_stream_generator.py:46: [W0613(unused-argument), test_connection_error_response.MockTransport.stream] Unused argument 'chunk_size'
2026-06-07T07:10:25.1516862Z tests/test_stream_generator.py:46: [W0613(unused-argument), test_connection_error_response.MockTransport.stream] Unused argument 'decode_content'
2026-06-07T07:10:25.1517640Z tests/test_stream_generator.py:80: [W0613(unused-argument), test_response_streaming_error_behavior.FakeStreamWithConnectionError.stream] Unused argument 'decode_content'
2026-06-07T07:10:25.1518518Z tests/test_stream_generator.py:90: [R1710(inconsistent-return-statements), test_response_streaming_error_behavior.FakeStreamWithConnectionError.read] Either all return statements in a function should return an expression, or none of them should.
2026-06-07T07:10:25.1519403Z tests/test_stream_generator.py:90: [W0613(unused-argument), test_response_streaming_error_behavior.FakeStreamWithConnectionError.read] Unused argument 'decode_content'
2026-06-07T07:10:25.1520556Z tests/test_stream_generator.py:13: [C0411(wrong-import-order), ] third party import "pytest" should be placed before first party imports "corehttp.rest.HttpRequest", "corehttp.transport.HttpTransport", "corehttp.runtime.pipeline.Pipeline", "corehttp.rest._requests_basic.StreamDownloadGenerator", "corehttp.exceptions.ServiceResponseError"
2026-06-07T07:10:25.1521604Z tests/test_stream_generator.py:15: [C0411(wrong-import-order), ] third party import "utils.HTTP_RESPONSES" should be placed before first party imports "corehttp.rest.HttpRequest", "corehttp.transport.HttpTransport", "corehttp.runtime.pipeline.Pipeline", "corehttp.rest._requests_basic.StreamDownloadGenerator", "corehttp.exceptions.ServiceResponseError"
2026-06-07T07:10:25.1522609Z ************* Module test_retry_policy
2026-06-07T07:10:25.1523314Z tests/test_retry_policy.py:173: [R1710(inconsistent-return-statements), test_retry_seekable_file.MockTransport.send] Either all return statements in a function should return an expression, or none of them should.
2026-06-07T07:10:25.1524144Z tests/test_retry_policy.py:189: [R1732(consider-using-with), test_retry_seekable_file] Consider using 'with' for resource-allocating operations
2026-06-07T07:10:25.1524884Z tests/test_retry_policy.py:209: [W0613(unused-argument), test_retry_timeout.send] Unused argument 'request'
2026-06-07T07:10:25.1525588Z tests/test_retry_policy.py:250: [W0621(redefined-outer-name), test_does_not_sleep_after_timeout] Redefining name 'combinations' from outer scope (line 246)
2026-06-07T07:10:25.1526367Z tests/test_retry_policy.py:8: [C0411(wrong-import-order), ] standard import "itertools.product" should be placed before third party import "pytest"
2026-06-07T07:10:25.1527110Z tests/test_retry_policy.py:9: [C0411(wrong-import-order), ] standard import "unittest.mock.Mock" should be placed before third party import "pytest"
2026-06-07T07:10:25.1527835Z tests/test_retry_policy.py:10: [C0411(wrong-import-order), ] standard import "tempfile" should be placed before third party import "pytest"
2026-06-07T07:10:25.1528529Z tests/test_retry_policy.py:11: [C0411(wrong-import-order), ] standard import "os" should be placed before third party import "pytest"
2026-06-07T07:10:25.1529271Z tests/test_retry_policy.py:12: [C0411(wrong-import-order), ] standard import "time" should be placed before third party import "pytest"
2026-06-07T07:10:25.1530477Z tests/test_retry_policy.py:13: [C0411(wrong-import-order), ] standard import "typing.Any" should be placed before third party import "pytest"
2026-06-07T07:10:25.1531433Z tests/test_retry_policy.py:30: [C0411(wrong-import-order), ] third party import "utils.HTTP_RESPONSES" should be placed before first party imports "corehttp.exceptions.BaseError", "corehttp.runtime.policies.RetryPolicy", "corehttp.runtime.pipeline.Pipeline", "corehttp.transport.HttpTransport", "corehttp.rest.HttpRequest"
2026-06-07T07:10:25.1532299Z ************* Module test_tracer_otel
2026-06-07T07:10:25.1533219Z tests/test_tracer_otel.py:17: [C0411(wrong-import-order), ] third party import "opentelemetry.trace.Tracer" should be placed before first party imports "corehttp.instrumentation.get_tracer", "corehttp.instrumentation.tracing._models.SpanKind", "corehttp.instrumentation.tracing.opentelemetry.OpenTelemetryTracer", "corehttp.instrumentation.tracing.utils.with_current_context", "corehttp.settings.settings"
2026-06-07T07:10:25.1534527Z tests/test_tracer_otel.py:25: [C0411(wrong-import-order), ] third party import "pytest" should be placed before first party imports "corehttp.instrumentation.get_tracer", "corehttp.instrumentation.tracing._models.SpanKind", "corehttp.instrumentation.tracing.opentelemetry.OpenTelemetryTracer", "corehttp.instrumentation.tracing.utils.with_current_context", "corehttp.settings.settings"
2026-06-07T07:10:25.1535396Z ************* Module test_rest_headers
2026-06-07T07:10:25.1535994Z tests/test_rest_headers.py:37: [W0104(pointless-statement), get_response_headers._get_response_headers] Statement seems to have no effect
2026-06-07T07:10:25.1536720Z tests/test_rest_headers.py:45: [W0621(redefined-outer-name), test_headers_request] Redefining name 'get_request_headers' from outer scope (line 15)
2026-06-07T07:10:25.1537462Z tests/test_rest_headers.py:51: [W0621(redefined-outer-name), test_headers_response] Redefining name 'get_response_headers' from outer scope (line 34)
2026-06-07T07:10:25.1538307Z tests/test_rest_headers.py:63: [R0123(literal-comparison), test_headers_response] In 'h.get('nope', default='default') is 'default'', use '==' when comparing constant literals not 'is' ('h.get('nope', default='default') == 'default'')
2026-06-07T07:10:25.1539333Z tests/test_rest_headers.py:75: [W0621(redefined-outer-name), test_headers_response_keys] Redefining name 'get_response_headers' from outer scope (line 34)
2026-06-07T07:10:25.1540495Z tests/test_rest_headers.py:86: [W0621(redefined-outer-name), test_headers_response_keys_mutability] Redefining name 'get_response_headers' from outer scope (line 34)
2026-06-07T07:10:25.1541363Z tests/test_rest_headers.py:94: [W0621(redefined-outer-name), test_headers_response_values] Redefining name 'get_response_headers' from outer scope (line 34)
2026-06-07T07:10:25.1542221Z tests/test_rest_headers.py:105: [W0621(redefined-outer-name), test_headers_response_values_mutability] Redefining name 'get_response_headers' from outer scope (line 34)
2026-06-07T07:10:25.1543019Z tests/test_rest_headers.py:113: [W0621(redefined-outer-name), test_headers_response_items] Redefining name 'get_response_headers' from outer scope (line 34)
2026-06-07T07:10:25.1543828Z tests/test_rest_headers.py:128: [W0621(redefined-outer-name), test_headers_response_items_mutability] Redefining name 'get_response_headers' from outer scope (line 34)
2026-06-07T07:10:25.1544677Z tests/test_rest_headers.py:136: [W0621(redefined-outer-name), test_header_mutations] Redefining name 'get_request_headers' from outer scope (line 15)
2026-06-07T07:10:25.1545442Z tests/test_rest_headers.py:136: [W0621(redefined-outer-name), test_header_mutations] Redefining name 'get_response_headers' from outer scope (line 34)
2026-06-07T07:10:25.1546354Z tests/test_rest_headers.py:138: [C1803(use-implicit-booleaness-not-comparison), test_header_mutations._headers_check] "dict(...) == {}" can be simplified to "not dict(...)", if it is strictly a sequence, as an empty dict is falsey
2026-06-07T07:10:25.1547353Z tests/test_rest_headers.py:154: [W0621(redefined-outer-name), test_copy_headers_method] Redefining name 'get_request_headers' from outer scope (line 15)
2026-06-07T07:10:25.1548126Z tests/test_rest_headers.py:154: [W0621(redefined-outer-name), test_copy_headers_method] Redefining name 'get_response_headers' from outer scope (line 34)
2026-06-07T07:10:25.1548906Z tests/test_rest_headers.py:172: [W0621(redefined-outer-name), test_headers_insert_retains_ordering] Redefining name 'get_request_headers' from outer scope (line 15)
2026-06-07T07:10:25.1549901Z tests/test_rest_headers.py:172: [W0621(redefined-outer-name), test_headers_insert_retains_ordering] Redefining name 'get_response_headers' from outer scope (line 34)
2026-06-07T07:10:25.1550634Z tests/test_rest_headers.py:184: [W0621(redefined-outer-name), test_headers_insert_appends_if_new] Redefining name 'get_request_headers' from outer scope (line 15)
2026-06-07T07:10:25.1551306Z tests/test_rest_headers.py:184: [W0621(redefined-outer-name), test_headers_insert_appends_if_new] Redefining name 'get_response_headers' from outer scope (line 34)
2026-06-07T07:10:25.1551979Z tests/test_rest_headers.py:204: [W0621(redefined-outer-name), test_headers_insert_removes_all_existing] Redefining name 'get_request_headers' from outer scope (line 15)
2026-06-07T07:10:25.1552660Z tests/test_rest_headers.py:204: [W0621(redefined-outer-name), test_headers_insert_removes_all_existing] Redefining name 'get_response_headers' from outer scope (line 34)
2026-06-07T07:10:25.1553341Z tests/test_rest_headers.py:213: [W0621(redefined-outer-name), test_headers_delete_removes_all_existing] Redefining name 'get_request_headers' from outer scope (line 15)
2026-06-07T07:10:25.1554036Z tests/test_rest_headers.py:213: [W0621(redefined-outer-name), test_headers_delete_removes_all_existing] Redefining name 'get_response_headers' from outer scope (line 34)
2026-06-07T07:10:25.1554800Z tests/test_rest_headers.py:233: [W0621(redefined-outer-name), test_headers_case_insensitive] Redefining name 'get_request_headers' from outer scope (line 15)
2026-06-07T07:10:25.1555587Z tests/test_rest_headers.py:233: [W0621(redefined-outer-name), test_headers_case_insensitive] Redefining name 'get_response_headers' from outer scope (line 34)
2026-06-07T07:10:25.1556516Z tests/test_rest_headers.py:263: [W0621(redefined-outer-name), test_multiple_headers_duplicate_case_insensitive] Redefining name 'get_response_headers' from outer scope (line 34)
2026-06-07T07:10:25.1557288Z tests/test_rest_headers.py:268: [W0621(redefined-outer-name), test_multiple_headers_commas] Redefining name 'get_response_headers' from outer scope (line 34)
2026-06-07T07:10:25.1558037Z tests/test_rest_headers.py:273: [W0621(redefined-outer-name), test_update] Redefining name 'get_response_headers' from outer scope (line 34)
2026-06-07T07:10:25.1558671Z ************* Module test_user_agent_policy
2026-06-07T07:10:25.1559431Z tests/test_user_agent_policy.py:11: [C0411(wrong-import-order), ] third party import "pytest" should be placed before first party imports "corehttp.rest.HttpRequest", "corehttp.runtime.policies.UserAgentPolicy", "corehttp.runtime.pipeline.PipelineRequest"
2026-06-07T07:10:25.1560521Z tests/test_user_agent_policy.py:11: [W0611(unused-import), ] Unused import pytest
2026-06-07T07:10:25.1561094Z ************* Module test_content_length_checking
2026-06-07T07:10:25.1561842Z tests/test_content_length_checking.py:10: [C0411(wrong-import-order), ] third party import "pytest" should be placed before first party imports "corehttp.runtime.PipelineClient", "corehttp.rest.HttpRequest", "corehttp.exceptions.IncompleteReadError"
2026-06-07T07:10:25.1562822Z tests/test_content_length_checking.py:12: [C0411(wrong-import-order), ] third party import "utils.SYNC_TRANSPORTS" should be placed before first party imports "corehttp.runtime.PipelineClient", "corehttp.rest.HttpRequest", "corehttp.exceptions.IncompleteReadError"
2026-06-07T07:10:25.1563577Z ************* Module test_rest_http_request
2026-06-07T07:10:25.1564278Z tests/test_rest_http_request.py:356: [C0301(line-too-long), ] Line too long (133/120)
2026-06-07T07:10:25.1564888Z tests/test_rest_http_request.py:364: [C0301(line-too-long), ] Line too long (133/120)
2026-06-07T07:10:25.1565594Z tests/test_rest_http_request.py:27: [R1721(unnecessary-comprehension), assert_iterator_body._comparer] Unnecessary use of a comprehension, use list(request.content) instead.
2026-06-07T07:10:25.1566385Z tests/test_rest_http_request.py:48: [W0621(redefined-outer-name), test_iterable_content] Redefining name 'assert_iterator_body' from outer scope (line 25)
2026-06-07T07:10:25.1567213Z tests/test_rest_http_request.py:54: [C1803(use-implicit-booleaness-not-comparison), test_iterable_content] "request.headers == {}" can be simplified to "not request.headers", if it is strictly a sequence, as an empty dict is falsey
2026-06-07T07:10:25.1568082Z tests/test_rest_http_request.py:58: [W0621(redefined-outer-name), test_generator_with_transfer_encoding_header] Redefining name 'assert_iterator_body' from outer scope (line 25)
2026-06-07T07:10:25.1568977Z tests/test_rest_http_request.py:63: [C1803(use-implicit-booleaness-not-comparison), test_generator_with_transfer_encoding_header] "request.headers == {}" can be simplified to "not request.headers", if it is strictly a sequence, as an empty dict is falsey
2026-06-07T07:10:25.1570130Z tests/test_rest_http_request.py:67: [W0621(redefined-outer-name), test_generator_with_content_length_header] Redefining name 'assert_iterator_body' from outer scope (line 25)
2026-06-07T07:10:25.1570875Z tests/test_rest_http_request.py:126: [W0105(pointless-string-statement), ] String statement has no effect
2026-06-07T07:10:25.1571595Z tests/test_rest_http_request.py:172: [W0621(redefined-outer-name), test_iterator_content] Redefining name 'assert_iterator_body' from outer scope (line 25)
2026-06-07T07:10:25.1572438Z tests/test_rest_http_request.py:182: [C1803(use-implicit-booleaness-not-comparison), test_iterator_content] "request.headers == {}" can be simplified to "not request.headers", if it is strictly a sequence, as an empty dict is falsey
2026-06-07T07:10:25.1573340Z tests/test_rest_http_request.py:189: [C1803(use-implicit-booleaness-not-comparison), test_iterator_content] "request.headers == {}" can be simplified to "not request.headers", if it is strictly a sequence, as an empty dict is falsey
2026-06-07T07:10:25.1574395Z tests/test_rest_http_request.py:196: [C1803(use-implicit-booleaness-not-comparison), test_iterator_content] "request.headers == {}" can be simplified to "not request.headers", if it is strictly a sequence, as an empty dict is falsey
2026-06-07T07:10:25.1575298Z tests/test_rest_http_request.py:291: [C1803(use-implicit-booleaness-not-comparison), test_empty_request] "request.headers == {}" can be simplified to "not request.headers", if it is strictly a sequence, as an empty dict is falsey
2026-06-07T07:10:25.1576127Z tests/test_rest_http_request.py:295: [W0621(redefined-outer-name), test_read_content] Redefining name 'assert_iterator_body' from outer scope (line 25)
2026-06-07T07:10:25.1576864Z tests/test_rest_http_request.py:339: [W0613(unused-argument), test_request_policies_chain] Unused argument 'port'
2026-06-07T07:10:25.1577585Z tests/test_rest_http_request.py:460: [W0621(redefined-outer-name), test_multipart_bytes] Redefining name 'filebytes' from outer scope (line 455)
2026-06-07T07:10:25.1578330Z tests/test_rest_http_request.py:466: [W0621(redefined-outer-name), test_multipart_filename_and_bytes] Redefining name 'filebytes' from outer scope (line 455)
2026-06-07T07:10:25.1579114Z tests/test_rest_http_request.py:473: [W0621(redefined-outer-name), test_multipart_filename_and_bytes_and_content_type] Redefining name 'filebytes' from outer scope (line 455)
2026-06-07T07:10:25.1580119Z tests/test_rest_http_request.py:480: [W0621(redefined-outer-name), test_multipart_incorrect_tuple_entry] Redefining name 'filebytes' from outer scope (line 455)
2026-06-07T07:10:25.1580896Z tests/test_rest_http_request.py:486: [W0621(redefined-outer-name), test_multipart_tuple_input_single] Redefining name 'filebytes' from outer scope (line 455)
2026-06-07T07:10:25.1581796Z tests/test_rest_http_request.py:492: [W0621(redefined-outer-name), test_multipart_tuple_input_multiple] Redefining name 'filebytes' from outer scope (line 455)
2026-06-07T07:10:25.1582601Z tests/test_rest_http_request.py:501: [W0621(redefined-outer-name), test_multipart_tuple_input_multiple_with_filename_and_content_type] Redefining name 'filebytes' from outer scope (line 455)
2026-06-07T07:10:25.1583375Z tests/test_rest_http_request.py:11: [C0411(wrong-import-order), ] standard import "os" should be placed before third party import "pytest"
2026-06-07T07:10:25.1584180Z tests/test_rest_http_request.py:20: [C0411(wrong-import-order), ] third party import "rest_client.MockRestClient" should be placed before first party imports "corehttp.rest.HttpRequest", "corehttp.runtime.policies.SansIOHTTPPolicy"
2026-06-07T07:10:25.1585089Z tests/test_rest_http_request.py:21: [C0411(wrong-import-order), ] third party import "utils.NamedIo" should be placed before first party imports "corehttp.rest.HttpRequest", "corehttp.runtime.policies.SansIOHTTPPolicy"
2026-06-07T07:10:25.1585802Z ************* Module test_authentication
2026-06-07T07:10:25.1586435Z tests/test_authentication.py:90: [W0613(unused-argument), test_bearer_policy_optionally_enforces_https.assert_option_popped] Unused argument 'request'
2026-06-07T07:10:25.1587280Z tests/test_authentication.py:165: [W0237(arguments-renamed), test_bearer_policy_calls_on_challenge.TestPolicy.on_challenge] Parameter 'response' has been renamed to 'challenge' in overriding 'TestPolicy.on_challenge' method
2026-06-07T07:10:25.1588112Z tests/test_authentication.py:165: [W0613(unused-argument), test_bearer_policy_calls_on_challenge.TestPolicy.on_challenge] Unused argument 'challenge'
2026-06-07T07:10:25.1588870Z tests/test_authentication.py:240: [W0613(unused-argument), test_bearer_policy_calls_sansio_methods.raise_the_second_time] Unused argument 'args'
2026-06-07T07:10:25.1589856Z tests/test_authentication.py:240: [W0613(unused-argument), test_bearer_policy_calls_sansio_methods.raise_the_second_time] Unused argument 'kwargs'
2026-06-07T07:10:25.1591047Z tests/test_authentication.py:18: [C0411(wrong-import-order), ] third party import "azure.core.pipeline.policies.AzureKeyCredentialPolicy" should be placed before first party imports "corehttp.credentials.AccessTokenInfo", "corehttp.exceptions.ServiceRequestError", "corehttp.runtime.pipeline.Pipeline", "corehttp.runtime.policies.BearerTokenCredentialPolicy", "corehttp.rest.HttpRequest"
2026-06-07T07:10:25.1592264Z tests/test_authentication.py:19: [C0411(wrong-import-order), ] third party import "pytest" should be placed before first party imports "corehttp.credentials.AccessTokenInfo", "corehttp.exceptions.ServiceRequestError", "corehttp.runtime.pipeline.Pipeline", "corehttp.runtime.policies.BearerTokenCredentialPolicy", "corehttp.rest.HttpRequest"
2026-06-07T07:10:25.1593112Z ************* Module test_pipeline
2026-06-07T07:10:25.1593752Z tests/test_pipeline.py:256: [R1737(use-yield-from), test_request_stream.data_gen] Use 'yield from' directly instead of yielding each element one by one
2026-06-07T07:10:25.1594505Z tests/test_pipeline.py:301: [E0213(no-self-argument), test_add_custom_policy.BooPolicy.send] Method 'send' should have "self" as first argument
2026-06-07T07:10:25.1595227Z tests/test_pipeline.py:305: [E0213(no-self-argument), test_add_custom_policy.FooPolicy.send] Method 'send' should have "self" as first argument
2026-06-07T07:10:25.1595934Z tests/test_pipeline.py:299: [R0915(too-many-statements), test_add_custom_policy] Too many statements (74/50)
2026-06-07T07:10:25.1596569Z tests/test_pipeline.py:435: [W0613(unused-argument), test_request_text] Unused argument 'port'
2026-06-07T07:10:25.1597483Z tests/test_pipeline.py:31: [C0411(wrong-import-order), ] third party import "utils.SYNC_TRANSPORTS" should be placed before first party imports "corehttp.rest.HttpRequest", "corehttp.runtime.pipeline.Pipeline", "corehttp.runtime.PipelineClient" (...) "corehttp.transport.requests.RequestsTransport", "corehttp.transport.httpx.HttpXTransport", "corehttp.exceptions.BaseError"
2026-06-07T07:10:25.1598499Z ************* Module test_rest_stream_responses
2026-06-07T07:10:25.1599267Z tests/test_rest_stream_responses.py:11: [C0411(wrong-import-order), ] third party import "rest_client.MockRestClient" should be placed before first party imports "corehttp.rest.HttpRequest", "corehttp.exceptions.StreamClosedError", "corehttp.exceptions.HttpResponseError"
2026-06-07T07:10:25.1600510Z tests/test_rest_stream_responses.py:12: [C0411(wrong-import-order), ] third party import "utils.SYNC_TRANSPORTS" should be placed before first party imports "corehttp.rest.HttpRequest", "corehttp.exceptions.StreamClosedError", "corehttp.exceptions.HttpResponseError"
2026-06-07T07:10:25.1601196Z ************* Module utils
2026-06-07T07:10:25.1601772Z tests/utils.py:117: [C0123(unidiomatic-typecheck), readonly_checks] Use isinstance() rather than type() for a typecheck.
2026-06-07T07:10:25.1602450Z tests/utils.py:7: [C0411(wrong-import-order), ] standard import "types" should be placed before third party import "pytest"
2026-06-07T07:10:25.1603194Z tests/utils.py:8: [C0411(wrong-import-order), ] standard import "io" should be placed before third party import "pytest"
2026-06-07T07:10:25.1603781Z ************* Module test_testserver
2026-06-07T07:10:25.1604341Z tests/test_testserver.py:10: [W0105(pointless-string-statement), ] String statement has no effect
2026-06-07T07:10:25.1604965Z tests/test_testserver.py:6: [W0611(unused-import), ] Unused import pytest
2026-06-07T07:10:25.1605511Z ************* Module test_transport
2026-06-07T07:10:25.1606088Z tests/test_transport.py:20: [W0613(unused-argument), test_already_close_with_with] Unused argument 'caplog'
2026-06-07T07:10:25.1606757Z tests/test_transport.py:34: [W0613(unused-argument), test_already_close_manually] Unused argument 'caplog'
2026-06-07T07:10:25.1607414Z tests/test_transport.py:48: [W0613(unused-argument), test_close_too_soon_works_fine] Unused argument 'caplog'
2026-06-07T07:10:25.1608082Z tests/test_transport.py:59: [W0613(unused-argument), test_requests_timeout_response] Unused argument 'caplog'
2026-06-07T07:10:25.1608892Z tests/test_transport.py:81: [W0613(unused-argument), test_requests_timeout_request] Unused argument 'caplog'
2026-06-07T07:10:25.1609841Z tests/test_transport.py:7: [C0411(wrong-import-order), ] standard import "unittest.mock" should be placed before third party import "pytest"
2026-06-07T07:10:25.1610588Z tests/test_transport.py:8: [C0411(wrong-import-order), ] standard import "socket.timeout" should be placed before third party import "pytest"
2026-06-07T07:10:25.1611232Z ************* Module test_tracing_decorator
2026-06-07T07:10:25.1611830Z tests/test_tracing_decorator.py:40: [W0613(unused-argument), MockClient.method_with_kwargs] Unused argument 'kwargs'
2026-06-07T07:10:25.1612639Z tests/test_tracing_decorator.py:12: [C0411(wrong-import-order), ] third party import "opentelemetry.trace.StatusCode" should be placed before first party imports "corehttp.settings.settings", "corehttp.instrumentation.tracing.distributed_trace"
2026-06-07T07:10:25.1613400Z ************* Module test_utils
2026-06-07T07:10:25.1613997Z tests/test_utils.py:19: [W0621(redefined-outer-name), test_case_insensitive_dict_basic] Redefining name 'accept_cases' from outer scope (line 15)
2026-06-07T07:10:25.1614738Z tests/test_utils.py:25: [W0621(redefined-outer-name), test_case_insensitive_dict_override] Redefining name 'accept_cases' from outer scope (line 15)
2026-06-07T07:10:25.1615493Z tests/test_utils.py:94: [W0621(redefined-outer-name), test_case_insensitive_keys_present] Redefining name 'accept_cases' from outer scope (line 15)
2026-06-07T07:10:25.1616276Z tests/test_utils.py:101: [W0621(redefined-outer-name), test_case_insensitive_keys_delete] Redefining name 'accept_cases' from outer scope (line 15)
2026-06-07T07:10:25.1616967Z tests/test_utils.py:141: [R0915(too-many-statements), test_sanitize_url] Too many statements (53/50)
2026-06-07T07:10:25.1617701Z tests/test_utils.py:5: [W0611(unused-import), ] Unused import sys
2026-06-07T07:10:25.1618235Z tests/test_utils.py:6: [W0611(unused-import), ] Unused patch imported from unittest.mock
2026-06-07T07:10:25.1618816Z ************* Module async_tests.test_rest_stream_responses_async
2026-06-07T07:10:25.1619461Z tests/async_tests/test_rest_stream_responses_async.py:158: [W0104(pointless-statement), test_error_reading] Statement seems to have no effect
2026-06-07T07:10:25.1620605Z tests/async_tests/test_rest_stream_responses_async.py:12: [C0411(wrong-import-order), ] third party import "rest_client_async.AsyncMockRestClient" should be placed before first party imports "corehttp.exceptions.HttpResponseError", "corehttp.rest.HttpRequest", "corehttp.exceptions.StreamClosedError"
2026-06-07T07:10:25.1621673Z tests/async_tests/test_rest_stream_responses_async.py:13: [C0411(wrong-import-order), ] third party import "utils.ASYNC_TRANSPORTS" should be placed before first party imports "corehttp.exceptions.HttpResponseError", "corehttp.rest.HttpRequest", "corehttp.exceptions.StreamClosedError"
2026-06-07T07:10:25.1622489Z ************* Module async_tests.test_tracing_decorator_async
2026-06-07T07:10:25.1623129Z tests/async_tests/test_tracing_decorator_async.py:41: [W0613(unused-argument), MockClient.method_with_kwargs] Unused argument 'kwargs'
2026-06-07T07:10:25.1624012Z tests/async_tests/test_tracing_decorator_async.py:13: [C0411(wrong-import-order), ] third party import "opentelemetry.trace.StatusCode" should be placed before first party imports "corehttp.settings.settings", "corehttp.instrumentation.tracing.distributed_trace_async"
2026-06-07T07:10:25.1624828Z ************* Module async_tests.test_universal_http_async
2026-06-07T07:10:25.1625556Z tests/async_tests/test_universal_http_async.py:41: [W0231(super-init-not-called), _create_aiohttp_response.MockAiohttpClientResponse.init] init method from base class 'ClientResponse' is not called
2026-06-07T07:10:25.1626425Z tests/async_tests/test_universal_http_async.py:8: [C0411(wrong-import-order), ] third party import "aiohttp" should be placed before first party import "corehttp.transport.aiohttp.AioHttpTransport"
2026-06-07T07:10:25.1627458Z tests/async_tests/test_universal_http_async.py:10: [C0411(wrong-import-order), ] third party import "pytest" should be placed before first party import "corehttp.transport.aiohttp.AioHttpTransport"
2026-06-07T07:10:25.1628437Z tests/async_tests/test_universal_http_async.py:14: [C0411(wrong-import-order), ] third party import "utils.create_transport_response" should be placed before first party imports "corehttp.transport.aiohttp.AioHttpTransport", "corehttp.rest.HttpRequest", "corehttp.rest._aiohttp.RestAioHttpTransportResponse"
2026-06-07T07:10:25.1629346Z tests/async_tests/test_universal_http_async.py:11: [C0412(ungrouped-imports), ] Imports from package corehttp are not grouped
2026-06-07T07:10:25.1630235Z ************* Module async_tests.test_paging_async
2026-06-07T07:10:25.1630918Z tests/async_tests/test_paging_async.py:33: [R1705(no-else-return), TestPaging.test_basic_paging.get_next] Unnecessary "else" after "return", remove the "else" and de-indent the code inside it
2026-06-07T07:10:25.1631734Z tests/async_tests/test_paging_async.py:50: [R1705(no-else-return), TestPaging.test_advance_paging.get_next] Unnecessary "else" after "return", remove the "else" and de-indent the code inside it
2026-06-07T07:10:25.1632502Z tests/async_tests/test_paging_async.py:71: [W0613(unused-argument), TestPaging.test_none_value.get_next] Unused argument 'continuation_token'
2026-06-07T07:10:25.1633310Z tests/async_tests/test_paging_async.py:85: [R1705(no-else-return), TestPaging.test_paging_continue_on_error.get_next] Unnecessary "else" after "return", remove the "else" and de-indent the code inside it
2026-06-07T07:10:25.1634016Z ************* Module async_tests.test_rest_http_request_async
2026-06-07T07:10:25.1634703Z tests/async_tests/test_rest_http_request_async.py:50: [W0621(redefined-outer-name), test_aiterable_content] Redefining name 'assert_aiterator_body' from outer scope (line 17)
2026-06-07T07:10:25.1635724Z tests/async_tests/test_rest_http_request_async.py:56: [C1803(use-implicit-booleaness-not-comparison), test_aiterable_content] "request.headers == {}" can be simplified to "not request.headers", if it is strictly a sequence, as an empty dict is falsey
2026-06-07T07:10:25.1636614Z tests/async_tests/test_rest_http_request_async.py:61: [W0621(redefined-outer-name), test_aiterator_content] Redefining name 'assert_aiterator_body' from outer scope (line 17)
2026-06-07T07:10:25.1637496Z tests/async_tests/test_rest_http_request_async.py:70: [C1803(use-implicit-booleaness-not-comparison), test_aiterator_content] "request.headers == {}" can be simplified to "not request.headers", if it is strictly a sequence, as an empty dict is falsey
2026-06-07T07:10:25.1638433Z tests/async_tests/test_rest_http_request_async.py:78: [C1803(use-implicit-booleaness-not-comparison), test_aiterator_content] "request.headers == {}" can be simplified to "not request.headers", if it is strictly a sequence, as an empty dict is falsey
2026-06-07T07:10:25.1639387Z tests/async_tests/test_rest_http_request_async.py:86: [C1803(use-implicit-booleaness-not-comparison), test_aiterator_content] "request.headers == {}" can be simplified to "not request.headers", if it is strictly a sequence, as an empty dict is falsey
2026-06-07T07:10:25.1640523Z tests/async_tests/test_rest_http_request_async.py:91: [W0621(redefined-outer-name), test_read_content] Redefining name 'assert_aiterator_body' from outer scope (line 17)
2026-06-07T07:10:25.1641337Z tests/async_tests/test_rest_http_request_async.py:13: [C0411(wrong-import-order), ] third party import "utils.NamedIo" should be placed before first party import "corehttp.rest.HttpRequest"
2026-06-07T07:10:25.1642028Z ************* Module async_tests.test_rest_http_response_async
2026-06-07T07:10:25.1642693Z tests/async_tests/test_rest_http_response_async.py:33: [W0621(redefined-outer-name), test_response] Redefining name 'send_request' from outer scope (line 20)
2026-06-07T07:10:25.1643514Z tests/async_tests/test_rest_http_response_async.py:45: [W0621(redefined-outer-name), test_response_content] Redefining name 'send_request' from outer scope (line 20)
2026-06-07T07:10:25.1644441Z tests/async_tests/test_rest_http_response_async.py:56: [W0621(redefined-outer-name), test_response_text] Redefining name 'send_request' from outer scope (line 20)
2026-06-07T07:10:25.1645215Z tests/async_tests/test_rest_http_response_async.py:69: [W0621(redefined-outer-name), test_response_html] Redefining name 'send_request' from outer scope (line 20)
2026-06-07T07:10:25.1646009Z tests/async_tests/test_rest_http_response_async.py:98: [W0621(redefined-outer-name), test_response_repr] Redefining name 'send_request' from outer scope (line 20)
2026-06-07T07:10:25.1646805Z tests/async_tests/test_rest_http_response_async.py:105: [W0621(redefined-outer-name), test_response_content_type_encoding] Redefining name 'send_request' from outer scope (line 20)
2026-06-07T07:10:25.1647632Z tests/async_tests/test_rest_http_response_async.py:118: [W0621(redefined-outer-name), test_response_autodetect_encoding] Redefining name 'send_request' from outer scope (line 20)
2026-06-07T07:10:25.1648482Z tests/async_tests/test_rest_http_response_async.py:129: [W0621(redefined-outer-name), test_response_fallback_to_autodetect] Redefining name 'send_request' from outer scope (line 20)
2026-06-07T07:10:25.1649314Z tests/async_tests/test_rest_http_response_async.py:141: [W0621(redefined-outer-name), test_response_no_charset_with_ascii_content] Redefining name 'send_request' from outer scope (line 20)
2026-06-07T07:10:25.1650430Z tests/async_tests/test_rest_http_response_async.py:158: [W0621(redefined-outer-name), test_response_no_charset_with_iso_8859_1_content] Redefining name 'send_request' from outer scope (line 20)
2026-06-07T07:10:25.1651257Z tests/async_tests/test_rest_http_response_async.py:170: [W0621(redefined-outer-name), test_json] Redefining name 'send_request' from outer scope (line 20)
2026-06-07T07:10:25.1652235Z tests/async_tests/test_rest_http_response_async.py:178: [W0621(redefined-outer-name), test_json_with_specified_encoding] Redefining name 'send_request' from outer scope (line 20)
2026-06-07T07:10:25.1653019Z tests/async_tests/test_rest_http_response_async.py:186: [W0621(redefined-outer-name), test_emoji] Redefining name 'send_request' from outer scope (line 20)
2026-06-07T07:10:25.1653844Z tests/async_tests/test_rest_http_response_async.py:193: [W0621(redefined-outer-name), test_emoji_family_with_skin_tone_modifier] Redefining name 'send_request' from outer scope (line 20)
2026-06-07T07:10:25.1654689Z tests/async_tests/test_rest_http_response_async.py:200: [W0621(redefined-outer-name), test_korean_nfc] Redefining name 'send_request' from outer scope (line 20)
2026-06-07T07:10:25.1655509Z tests/async_tests/test_rest_http_response_async.py:207: [W0621(redefined-outer-name), test_urlencoded_content] Redefining name 'send_request' from outer scope (line 20)
2026-06-07T07:10:25.1656320Z tests/async_tests/test_rest_http_response_async.py:218: [W0621(redefined-outer-name), test_multipart_files_content] Redefining name 'send_request' from outer scope (line 20)
2026-06-07T07:10:25.1657157Z tests/async_tests/test_rest_http_response_async.py:229: [W0621(redefined-outer-name), test_multipart_data_and_files_content] Redefining name 'send_request' from outer scope (line 20)
2026-06-07T07:10:25.1657987Z tests/async_tests/test_rest_http_response_async.py:241: [W0621(redefined-outer-name), test_text_and_encoding] Redefining name 'send_request' from outer scope (line 20)
2026-06-07T07:10:25.1658818Z tests/async_tests/test_rest_http_response_async.py:257: [W0621(redefined-outer-name), test_multipart_encode_non_seekable_filelike] Redefining name 'send_request' from outer scope (line 20)
2026-06-07T07:10:25.1659917Z tests/async_tests/test_rest_http_response_async.py:267: [W0613(unused-argument), test_multipart_encode_non_seekable_filelike.IteratorIO.read] Unused argument 'args'
2026-06-07T07:10:25.1660866Z tests/async_tests/test_rest_http_response_async.py:286: [E0110(abstract-class-instantiated), test_initialize_response_abc] Abstract class 'AsyncHttpResponse' with abstract methods instantiated
2026-06-07T07:10:25.1661851Z tests/async_tests/test_rest_http_response_async.py:292: [W0621(redefined-outer-name), test_readonly] Redefining name 'send_request' from outer scope (line 20)
2026-06-07T07:10:25.1662726Z tests/async_tests/test_rest_http_response_async.py:14: [C0411(wrong-import-order), ] third party import "utils.ASYNC_TRANSPORTS" should be placed before first party imports "corehttp.rest.HttpRequest", "corehttp.exceptions.HttpResponseError"
2026-06-07T07:10:25.1663709Z tests/async_tests/test_rest_http_response_async.py:16: [C0411(wrong-import-order), ] third party import "rest_client_async.AsyncMockRestClient" should be placed before first party imports "corehttp.rest.HttpRequest", "corehttp.exceptions.HttpResponseError"
2026-06-07T07:10:25.1664497Z ************* Module async_tests.test_transport_async
2026-06-07T07:10:25.1665114Z tests/async_tests/test_transport_async.py:25: [W0613(unused-argument), test_already_close_with_with] Unused argument 'caplog'
2026-06-07T07:10:25.1665811Z tests/async_tests/test_transport_async.py:40: [W0613(unused-argument), test_already_close_manually] Unused argument 'caplog'
2026-06-07T07:10:25.1666518Z tests/async_tests/test_transport_async.py:55: [W0613(unused-argument), test_close_too_soon_works_fine] Unused argument 'caplog'
2026-06-07T07:10:25.1667276Z tests/async_tests/test_transport_async.py:98: [W1309(f-string-without-interpolation), test_aiohttp_timeout_request] Using an f-string that does not have any interpolated variables
2026-06-07T07:10:25.1668087Z tests/async_tests/test_transport_async.py:108: [W1309(f-string-without-interpolation), test_aiohttp_timeout_request] Using an f-string that does not have any interpolated variables
2026-06-07T07:10:25.1668897Z tests/async_tests/test_transport_async.py:119: [W1309(f-string-without-interpolation), test_aiohttp_timeout_request] Using an f-string that does not have any interpolated variables
2026-06-07T07:10:25.1670225Z tests/async_tests/test_transport_async.py:20: [C0411(wrong-import-order), ] third party import "aiohttp" should be placed before first party imports "corehttp.rest.HttpRequest", "corehttp.transport.aiohttp.AioHttpTransport", "corehttp.runtime.pipeline.AsyncPipeline", "corehttp.exceptions.ServiceResponseError"
2026-06-07T07:10:25.1671353Z tests/async_tests/test_transport_async.py:21: [C0411(wrong-import-order), ] third party import "pytest" should be placed before first party imports "corehttp.rest.HttpRequest", "corehttp.transport.aiohttp.AioHttpTransport", "corehttp.runtime.pipeline.AsyncPipeline", "corehttp.exceptions.ServiceResponseError"
2026-06-07T07:10:25.1672177Z ************* Module async_tests.test_content_length_checking_async
2026-06-07T07:10:25.1672979Z tests/async_tests/test_content_length_checking_async.py:11: [C0411(wrong-import-order), ] third party import "utils.ASYNC_TRANSPORTS" should be placed before first party imports "corehttp.rest.HttpRequest", "corehttp.runtime.AsyncPipelineClient", "corehttp.exceptions.IncompleteReadError"
2026-06-07T07:10:25.1673780Z ************* Module async_tests.test_testserver_async
2026-06-07T07:10:25.1674434Z tests/async_tests/test_testserver_async.py:10: [W0105(pointless-string-statement), ] String statement has no effect
2026-06-07T07:10:25.1675050Z ************* Module async_tests.test_streaming_async
2026-06-07T07:10:25.1675823Z tests/async_tests/test_streaming_async.py:27: [C0411(wrong-import-order), ] third party import "utils.ASYNC_TRANSPORTS" should be placed before first party imports "corehttp.rest.HttpRequest", "corehttp.runtime.AsyncPipelineClient", "corehttp.exceptions.DecodeError"
2026-06-07T07:10:25.1676610Z ************* Module async_tests.test_retry_policy_async
2026-06-07T07:10:25.1677264Z tests/async_tests/test_retry_policy_async.py:195: [R1732(consider-using-with), test_retry_seekable_file] Consider using 'with' for resource-allocating operations
2026-06-07T07:10:25.1678012Z tests/async_tests/test_retry_policy_async.py:215: [W0613(unused-argument), test_retry_timeout.send] Unused argument 'request'
2026-06-07T07:10:25.1678996Z tests/async_tests/test_retry_policy_async.py:258: [W0621(redefined-outer-name), test_does_not_sleep_after_timeout] Redefining name 'combinations' from outer scope (line 253)
2026-06-07T07:10:25.1680290Z tests/async_tests/test_retry_policy_async.py:31: [C0411(wrong-import-order), ] third party import "utils.ASYNC_HTTP_RESPONSES" should be placed before first party imports "corehttp.rest.HttpRequest", "corehttp.exceptions.BaseError", "corehttp.runtime.policies.AsyncRetryPolicy", "corehttp.runtime.pipeline.AsyncPipeline", "corehttp.transport.AsyncHttpTransport"
2026-06-07T07:10:25.1681206Z ************* Module async_tests.test_tracing_policy_async
2026-06-07T07:10:25.1682094Z tests/async_tests/test_tracing_policy_async.py:17: [C0411(wrong-import-order), ] third party import "utils.HTTP_RESPONSES" should be placed before first party imports "corehttp.rest.HttpRequest", "corehttp.runtime.policies.DistributedHttpTracingPolicy", "corehttp.runtime.pipeline.AsyncPipeline", "corehttp.transport.AsyncHttpTransport"
2026-06-07T07:10:25.1682964Z ************* Module async_tests.test_pipeline_async
2026-06-07T07:10:25.1683660Z tests/async_tests/test_pipeline_async.py:131: [E0213(no-self-argument), test_retry_without_http_response.NaughtyPolicy.send] Method 'send' should have "self" as first argument
2026-06-07T07:10:25.1684488Z tests/async_tests/test_pipeline_async.py:143: [E0213(no-self-argument), test_add_custom_policy.BooPolicy.send] Method 'send' should have "self" as first argument
2026-06-07T07:10:25.1685262Z tests/async_tests/test_pipeline_async.py:147: [E0213(no-self-argument), test_add_custom_policy.FooPolicy.send] Method 'send' should have "self" as first argument
2026-06-07T07:10:25.1686052Z tests/async_tests/test_pipeline_async.py:141: [R0915(too-many-statements), test_add_custom_policy] Too many statements (74/50)
2026-06-07T07:10:25.1687041Z tests/async_tests/test_pipeline_async.py:286: [W0613(unused-argument), test_aiohttp_default_ssl_context.MockAiohttpSession.request] Unused argument 'method'
2026-06-07T07:10:25.1687913Z tests/async_tests/test_pipeline_async.py:286: [W0613(unused-argument), test_aiohttp_default_ssl_context.MockAiohttpSession.request] Unused argument 'url'
2026-06-07T07:10:25.1688932Z tests/async_tests/test_pipeline_async.py:22: [C0411(wrong-import-order), ] third party import "aiohttp" should be placed before first party imports "corehttp.rest.HttpRequest", "corehttp.runtime.AsyncPipelineClient", "corehttp.runtime.pipeline.AsyncPipeline" (...) "corehttp.transport.aiohttp.AioHttpTransport", "corehttp.transport.httpx.AsyncHttpXTransport", "corehttp.exceptions.BaseError"
2026-06-07T07:10:25.1690449Z tests/async_tests/test_pipeline_async.py:23: [C0411(wrong-import-order), ] third party import "httpx" should be placed before first party imports "corehttp.rest.HttpRequest", "corehttp.runtime.AsyncPipelineClient", "corehttp.runtime.pipeline.AsyncPipeline" (...) "corehttp.transport.aiohttp.AioHttpTransport", "corehttp.transport.httpx.AsyncHttpXTransport", "corehttp.exceptions.BaseError"
2026-06-07T07:10:25.1691924Z tests/async_tests/test_pipeline_async.py:24: [C0411(wrong-import-order), ] third party import "pytest" should be placed before first party imports "corehttp.rest.HttpRequest", "corehttp.runtime.AsyncPipelineClient", "corehttp.runtime.pipeline.AsyncPipeline" (...) "corehttp.transport.aiohttp.AioHttpTransport", "corehttp.transport.httpx.AsyncHttpXTransport", "corehttp.exceptions.BaseError"
2026-06-07T07:10:25.1693138Z tests/async_tests/test_pipeline_async.py:26: [C0411(wrong-import-order), ] third party import "utils.ASYNC_TRANSPORTS" should be placed before first party imports "corehttp.rest.HttpRequest", "corehttp.runtime.AsyncPipelineClient", "corehttp.runtime.pipeline.AsyncPipeline" (...) "corehttp.transport.aiohttp.AioHttpTransport", "corehttp.transport.httpx.AsyncHttpXTransport", "corehttp.exceptions.BaseError"
2026-06-07T07:10:25.1693995Z ************* Module async_tests.test_rest_headers_async
2026-06-07T07:10:25.1694751Z tests/async_tests/test_rest_headers_async.py:25: [W0104(pointless-statement), get_response_headers._get_response_headers] Statement seems to have no effect
2026-06-07T07:10:25.1695465Z tests/async_tests/test_rest_headers_async.py:34: [W0621(redefined-outer-name), test_headers_response] Redefining name 'get_response_headers' from outer scope (line 22)
2026-06-07T07:10:25.1696286Z tests/async_tests/test_rest_headers_async.py:46: [R0123(literal-comparison), test_headers_response] In 'h.get('nope', default='default') is 'default'', use '==' when comparing constant literals not 'is' ('h.get('nope', default='default') == 'default'')
2026-06-07T07:10:25.1697130Z tests/async_tests/test_rest_headers_async.py:59: [W0621(redefined-outer-name), test_headers_response_keys] Redefining name 'get_response_headers' from outer scope (line 22)
2026-06-07T07:10:25.1697967Z tests/async_tests/test_rest_headers_async.py:76: [W0621(redefined-outer-name), test_headers_response_keys_mutability] Redefining name 'get_response_headers' from outer scope (line 22)
2026-06-07T07:10:25.1698740Z tests/async_tests/test_rest_headers_async.py:85: [W0621(redefined-outer-name), test_headers_response_values] Redefining name 'get_response_headers' from outer scope (line 22)
2026-06-07T07:10:25.1700077Z tests/async_tests/test_rest_headers_async.py:100: [W0621(redefined-outer-name), test_headers_response_values_mutability] Redefining name 'get_response_headers' from outer scope (line 22)
2026-06-07T07:10:25.1701064Z tests/async_tests/test_rest_headers_async.py:109: [W0621(redefined-outer-name), test_headers_response_items] Redefining name 'get_response_headers' from outer scope (line 22)
2026-06-07T07:10:25.1701909Z tests/async_tests/test_rest_headers_async.py:128: [W0621(redefined-outer-name), test_headers_response_items_mutability] Redefining name 'get_response_headers' from outer scope (line 22)
2026-06-07T07:10:25.1702989Z tests/async_tests/test_rest_headers_async.py:137: [W0621(redefined-outer-name), test_header_mutations] Redefining name 'get_response_headers' from outer scope (line 22)
2026-06-07T07:10:25.1703867Z tests/async_tests/test_rest_headers_async.py:139: [C1803(use-implicit-booleaness-not-comparison), test_header_mutations] "dict(...) == {}" can be simplified to "not dict(...)", if it is strictly a sequence, as an empty dict is falsey
2026-06-07T07:10:25.1704757Z tests/async_tests/test_rest_headers_async.py:153: [W0621(redefined-outer-name), test_copy_headers_method] Redefining name 'get_response_headers' from outer scope (line 22)
2026-06-07T07:10:25.1705603Z tests/async_tests/test_rest_headers_async.py:161: [W0621(redefined-outer-name), test_headers_insert_retains_ordering] Redefining name 'get_response_headers' from outer scope (line 22)
2026-06-07T07:10:25.1706436Z tests/async_tests/test_rest_headers_async.py:168: [W0621(redefined-outer-name), test_headers_insert_appends_if_new] Redefining name 'get_response_headers' from outer scope (line 22)
2026-06-07T07:10:25.1707281Z tests/async_tests/test_rest_headers_async.py:175: [W0621(redefined-outer-name), test_headers_insert_removes_all_existing] Redefining name 'get_response_headers' from outer scope (line 22)
2026-06-07T07:10:25.1708123Z tests/async_tests/test_rest_headers_async.py:182: [W0621(redefined-outer-name), test_headers_delete_removes_all_existing] Redefining name 'get_response_headers' from outer scope (line 22)
2026-06-07T07:10:25.1708960Z tests/async_tests/test_rest_headers_async.py:218: [W0621(redefined-outer-name), test_multiple_headers_duplicate_case_insensitive] Redefining name 'get_response_headers' from outer scope (line 22)
2026-06-07T07:10:25.1710059Z tests/async_tests/test_rest_headers_async.py:224: [W0621(redefined-outer-name), test_multiple_headers_commas] Redefining name 'get_response_headers' from outer scope (line 22)
2026-06-07T07:10:25.1710886Z tests/async_tests/test_rest_headers_async.py:230: [W0621(redefined-outer-name), test_update] Redefining name 'get_response_headers' from outer scope (line 22)
2026-06-07T07:10:25.1711669Z tests/async_tests/test_rest_headers_async.py:7: [C0411(wrong-import-order), ] standard import "platform" should be placed before third party import "pytest"
2026-06-07T07:10:25.1712492Z ************* Module async_tests.test_authentication_async
2026-06-07T07:10:25.1713162Z tests/async_tests/test_authentication_async.py:132: [W0613(unused-argument), test_bearer_policy_optionally_enforces_https.assert_option_popped] Unused argument 'request'
2026-06-07T07:10:25.1713961Z tests/async_tests/test_authentication_async.py:231: [W0613(unused-argument), test_bearer_policy_calls_sansio_methods.fake_send] Unused argument 'args'
2026-06-07T07:10:25.1714731Z tests/async_tests/test_authentication_async.py:231: [W0613(unused-argument), test_bearer_policy_calls_sansio_methods.fake_send] Unused argument 'kwargs'
2026-06-07T07:10:25.1715544Z tests/async_tests/test_authentication_async.py:278: [W0102(dangerous-default-value), test_async_token_credential_inheritance.TestTokenCredential.get_token_info] Dangerous default value {} as argument
2026-06-07T07:10:25.1716687Z tests/async_tests/test_authentication_async.py:19: [C0411(wrong-import-order), ] third party import "azure.core.pipeline.policies.AzureKeyCredentialPolicy" should be placed before first party imports "corehttp.credentials.AccessTokenInfo", "corehttp.credentials.AsyncTokenCredential", "corehttp.exceptions.ServiceRequestError", "corehttp.runtime.pipeline.AsyncPipeline", "corehttp.runtime.policies.AsyncBearerTokenCredentialPolicy", "corehttp.rest.HttpRequest"
2026-06-07T07:10:25.1718072Z tests/async_tests/test_authentication_async.py:20: [C0411(wrong-import-order), ] third party import "pytest" should be placed before first party imports "corehttp.credentials.AccessTokenInfo", "corehttp.credentials.AsyncTokenCredential", "corehttp.exceptions.ServiceRequestError", "corehttp.runtime.pipeline.AsyncPipeline", "corehttp.runtime.policies.AsyncBearerTokenCredentialPolicy", "corehttp.rest.HttpRequest"
2026-06-07T07:10:25.1719161Z ************* Module perf_tests.download_binary
2026-06-07T07:10:25.1720039Z tests/perf_tests/download_binary.py:56: [C0301(line-too-long), ] Line too long (169/120)
2026-06-07T07:10:25.1720688Z tests/perf_tests/download_binary.py:79: [C0301(line-too-long), ] Line too long (169/120)
2026-06-07T07:10:25.1721383Z tests/perf_tests/download_binary.py:29: [E1125(missing-kwoa), DownloadBinaryDataTest.global_setup] Missing mandatory keyword argument 'version' in function call
2026-06-07T07:10:25.1722284Z tests/perf_tests/download_binary.py:15: [C0411(wrong-import-order), ] third party import "azure.storage.blob._generated.operations._block_blob_operations.build_upload_request" should be placed before first party imports "corehttp.exceptions.HttpResponseError", "corehttp.rest.HttpRequest"
2026-06-07T07:10:25.1723157Z tests/perf_tests/download_binary.py:8: [W0611(unused-import), ] Unused WriteStream imported from devtools_testutils.perfstress_tests
2026-06-07T07:10:25.1723771Z ************* Module perf_tests._test_base
2026-06-07T07:10:25.1724318Z tests/perf_tests/_test_base.py:115: [C0301(line-too-long), ] Line too long (131/120)
2026-06-07T07:10:25.1724921Z tests/perf_tests/_test_base.py:145: [C0301(line-too-long), ] Line too long (131/120)
2026-06-07T07:10:25.1725510Z tests/perf_tests/_test_base.py:175: [C0301(line-too-long), ] Line too long (145/120)
2026-06-07T07:10:25.1726151Z tests/perf_tests/_test_base.py:28: [R0402(consider-using-from-import), ] Use 'from corehttp.runtime import policies' instead
2026-06-07T07:10:25.1726829Z tests/perf_tests/_test_base.py:46: [R0902(too-many-instance-attributes), _ServiceTest] Too many instance attributes (11/10)
2026-06-07T07:10:25.1727663Z tests/perf_tests/_test_base.py:72: [W0707(raise-missing-from), _ServiceTest.init] Consider explicitly re-raising using 'except KeyError as exc' and 'raise ValueError(f'Invalid sync transport:{self.args.transport}\n Valid options are:\n- requests\n- httpx\n') from exc'
2026-06-07T07:10:25.1728653Z tests/perf_tests/_test_base.py:80: [W0707(raise-missing-from), _ServiceTest.init] Consider explicitly re-raising using 'except KeyError as exc' and 'raise ValueError(f'Invalid async transport:{self.args.transport}\n Valid options are:\n- aiohttp\n- httpx\n') from exc'
2026-06-07T07:10:25.1729891Z tests/perf_tests/_test_base.py:106: [E1101(no-member), _ServiceTest._build_sync_pipeline_client] Instance of '_ServiceTest' has no 'sdk_moniker' member
2026-06-07T07:10:25.1730671Z tests/perf_tests/_test_base.py:117: [E1101(no-member), _ServiceTest._build_sync_pipeline_client] Instance of '_ServiceTest' has no 'sdk_moniker' member
2026-06-07T07:10:25.1731420Z tests/perf_tests/_test_base.py:119: [E1101(no-member), _ServiceTest._build_sync_pipeline_client] Instance of '_ServiceTest' has no 'account_endpoint' member
2026-06-07T07:10:25.1732192Z tests/perf_tests/_test_base.py:135: [E1101(no-member), _ServiceTest._build_async_pipeline_client] Instance of '_ServiceTest' has no 'sdk_moniker' member
2026-06-07T07:10:25.1732969Z tests/perf_tests/_test_base.py:147: [E1101(no-member), _ServiceTest._build_async_pipeline_client] Instance of '_ServiceTest' has no 'sdk_moniker' member
2026-06-07T07:10:25.1733734Z tests/perf_tests/_test_base.py:149: [E1101(no-member), _ServiceTest._build_async_pipeline_client] Instance of '_ServiceTest' has no 'account_endpoint' member
2026-06-07T07:10:25.1734485Z tests/perf_tests/_test_base.py:154: [E1101(no-member), _ServiceTest._set_auth_policies] Instance of '_ServiceTest' has no 'sdk_moniker' member
2026-06-07T07:10:25.1735510Z tests/perf_tests/_test_base.py:36: [C0411(wrong-import-order), ] third party import "azure.identity.ClientSecretCredential" should be placed before first party imports "corehttp.runtime.PipelineClient", "corehttp.runtime.pipeline.Pipeline", "corehttp.transport.aiohttp.AioHttpTransport" (...) "corehttp.runtime.policies", "corehttp.credentials.ServiceNamedKeyCredential", "corehttp.exceptions.ClientAuthenticationError"
2026-06-07T07:10:25.1736973Z tests/perf_tests/_test_base.py:37: [C0411(wrong-import-order), ] third party import "azure.identity.aio.ClientSecretCredential" should be placed before first party imports "corehttp.runtime.PipelineClient", "corehttp.runtime.pipeline.Pipeline", "corehttp.transport.aiohttp.AioHttpTransport" (...) "corehttp.runtime.policies", "corehttp.credentials.ServiceNamedKeyCredential", "corehttp.exceptions.ClientAuthenticationError"
2026-06-07T07:10:25.1738282Z tests/perf_tests/_test_base.py:38: [C0411(wrong-import-order), ] third party import "azure.data.tables.aio.TableClient" should be placed before first party imports "corehttp.runtime.PipelineClient", "corehttp.runtime.pipeline.Pipeline", "corehttp.transport.aiohttp.AioHttpTransport" (...) "corehttp.runtime.policies", "corehttp.credentials.ServiceNamedKeyCredential", "corehttp.exceptions.ClientAuthenticationError"
2026-06-07T07:10:25.1739886Z tests/perf_tests/_test_base.py:40: [C0411(wrong-import-order), ] third party import "azure.storage.blob._shared.authentication.SharedKeyCredentialPolicy" should be placed before first party imports "corehttp.runtime.PipelineClient", "corehttp.runtime.pipeline.Pipeline", "corehttp.transport.aiohttp.AioHttpTransport" (...) "corehttp.runtime.policies", "corehttp.credentials.ServiceNamedKeyCredential", "corehttp.exceptions.ClientAuthenticationError"
2026-06-07T07:10:25.1741304Z tests/perf_tests/_test_base.py:41: [C0411(wrong-import-order), ] third party import "azure.data.tables._authentication.SharedKeyCredentialPolicy" should be placed before first party imports "corehttp.runtime.PipelineClient", "corehttp.runtime.pipeline.Pipeline", "corehttp.transport.aiohttp.AioHttpTransport" (...) "corehttp.runtime.policies", "corehttp.credentials.ServiceNamedKeyCredential", "corehttp.exceptions.ClientAuthenticationError"
2026-06-07T07:10:25.1742248Z ************* Module perf_tests.update_entity_json
2026-06-07T07:10:25.1742827Z tests/perf_tests/update_entity_json.py:27: [C0301(line-too-long), ] Line too long (155/120)
2026-06-07T07:10:25.1743454Z tests/perf_tests/update_entity_json.py:51: [C0301(line-too-long), ] Line too long (169/120)
2026-06-07T07:10:25.1744077Z tests/perf_tests/update_entity_json.py:78: [C0301(line-too-long), ] Line too long (169/120)
2026-06-07T07:10:25.1744792Z ************* Module perf_tests.list_entities_json
2026-06-07T07:10:25.1745366Z tests/perf_tests/list_entities_json.py:61: [C0301(line-too-long), ] Line too long (169/120)
2026-06-07T07:10:25.1745982Z tests/perf_tests/list_entities_json.py:92: [C0301(line-too-long), ] Line too long (169/120)
2026-06-07T07:10:25.1746652Z tests/perf_tests/list_entities_json.py:40: [W0613(unused-argument), ListEntitiesPageableTest._get_list_entities] Unused argument 'kwargs'
2026-06-07T07:10:25.1747391Z tests/perf_tests/list_entities_json.py:71: [W0613(unused-argument), ListEntitiesPageableTest._get_list_entities_async] Unused argument 'kwargs'
2026-06-07T07:10:25.1748025Z ************* Module perf_tests.query_entities_json
2026-06-07T07:10:25.1748599Z tests/perf_tests/query_entities_json.py:45: [C0301(line-too-long), ] Line too long (169/120)
2026-06-07T07:10:25.1749239Z tests/perf_tests/query_entities_json.py:70: [C0301(line-too-long), ] Line too long (169/120)
2026-06-07T07:10:25.1750062Z ************* Module perf_tests.upload_binary
2026-06-07T07:10:25.1750645Z tests/perf_tests/upload_binary.py:34: [C0301(line-too-long), ] Line too long (143/120)
2026-06-07T07:10:25.1751247Z tests/perf_tests/upload_binary.py:35: [C0301(line-too-long), ] Line too long (141/120)
2026-06-07T07:10:25.1751840Z tests/perf_tests/upload_binary.py:57: [C0301(line-too-long), ] Line too long (169/120)
2026-06-07T07:10:25.1752426Z tests/perf_tests/upload_binary.py:81: [C0301(line-too-long), ] Line too long (169/120)
2026-06-07T07:10:25.1753265Z tests/perf_tests/upload_binary.py:17: [C0411(wrong-import-order), ] standard import "logging" should be placed before third party import "devtools_testutils.perfstress_tests.RandomStream", first party imports "corehttp.rest.HttpRequest", "corehttp.exceptions.HttpResponseError", and local import "_test_base._BlobTest"
2026-06-07T07:10:25.1754487Z tests/perf_tests/upload_binary.py:18: [C0411(wrong-import-order), ] standard import "sys" should be placed before third party import "devtools_testutils.perfstress_tests.RandomStream", first party imports "corehttp.rest.HttpRequest", "corehttp.exceptions.HttpResponseError", and local import "_test_base._BlobTest"
2026-06-07T07:10:25.1755337Z ************* Module testserver_tests.coretestserver.coretestserver.test_routes.helpers
2026-06-07T07:10:25.1756033Z tests/testserver_tests/coretestserver/coretestserver/test_routes/helpers.py:47: [W0621(redefined-outer-name), get_url] Redefining name 'request' from outer scope (line 6)
2026-06-07T07:10:25.1756847Z tests/testserver_tests/coretestserver/coretestserver/test_routes/helpers.py:100: [R1705(no-else-return), semiflatten] Unnecessary "else" after "return", remove the "else" and de-indent the code inside it
2026-06-07T07:10:25.1757639Z tests/testserver_tests/coretestserver/coretestserver/test_routes/helpers.py:126: [E0602(undefined-variable), json_safe] Undefined variable 'base64'
2026-06-07T07:10:25.1758477Z tests/testserver_tests/coretestserver/coretestserver/test_routes/helpers.py:143: [R1735(use-dict-literal), get_dict] Consider using '{"url": get_url(request), "args": semiflatten(request.args), "form": form, ... }' instead of a call to 'dict'.
2026-06-07T07:10:25.1759334Z tests/testserver_tests/coretestserver/coretestserver/test_routes/helpers.py:165: [W0621(redefined-outer-name), get_base_url] Redefining name 'request' from outer scope (line 6)
2026-06-07T07:10:25.1760478Z tests/testserver_tests/coretestserver/coretestserver/test_routes/helpers.py:10: [C0411(wrong-import-order), ] standard import "urllib.parse.urlparse" should be placed before third party import "flask.request"
2026-06-07T07:10:25.1761381Z tests/testserver_tests/coretestserver/coretestserver/test_routes/helpers.py:12: [C0411(wrong-import-order), ] standard import "json" should be placed before third party import "flask.request" and local import "structures.CaseInsensitiveDict"
2026-06-07T07:10:25.1762154Z ************* Module testserver_tests.coretestserver.coretestserver.test_routes.xml_route
2026-06-07T07:10:25.1763016Z tests/testserver_tests/coretestserver/coretestserver/test_routes/xml_route.py:35: [R1705(no-else-return), basic] Unnecessary "elif" after "return", remove the leading "el" from "elif"
2026-06-07T07:10:25.1763716Z ************* Module testserver_tests.coretestserver.coretestserver.test_routes.headers
2026-06-07T07:10:25.1764375Z tests/testserver_tests/coretestserver/coretestserver/test_routes/headers.py:7: [W0611(unused-import), ] Unused request imported from flask
2026-06-07T07:10:25.1765038Z ************* Module testserver_tests.coretestserver.coretestserver.test_routes.errors
2026-06-07T07:10:25.1765680Z tests/testserver_tests/coretestserver/coretestserver/test_routes/errors.py:60: [C0301(line-too-long), ] Line too long (240/120)
2026-06-07T07:10:25.1766324Z ************* Module testserver_tests.coretestserver.coretestserver.test_routes.structures
2026-06-07T07:10:25.1767091Z tests/testserver_tests/coretestserver/coretestserver/test_routes/structures.py:21: [R1710(inconsistent-return-statements), CaseInsensitiveDict.getitem] Either all return statements in a function should return an expression, or none of them should.
2026-06-07T07:10:25.1767877Z ************* Module testserver_tests.coretestserver.coretestserver.test_routes.multipart
2026-06-07T07:10:25.1768533Z tests/testserver_tests/coretestserver/coretestserver/test_routes/multipart.py:6: [W0611(unused-import), ] Unused copy imported from copy
2026-06-07T07:10:25.1768914Z
2026-06-07T07:10:25.1769408Z ------------------------------------------------------------------
2026-06-07T07:10:25.1770250Z Your code has been rated at 9.28/10 (previous run: 9.23/10, +0.05)
2026-06-07T07:10:25.1770539Z
2026-06-07T07:10:25.1770981Z ************* Module sample_tracing
2026-06-07T07:10:25.1771740Z samples/sample_tracing.py:34: [C4748(client-accepts-api-version-keyword), SampleClient] The client constructor needs to take in an optional keyword-only api_version argument. See details: https://azure.github.io/azure-sdk/python_design.html#specifying-the-service-version
2026-06-07T07:10:25.1772850Z samples/sample_tracing.py:37: [C4727(client-incorrect-naming-convention), SampleClient] Client is using an incorrect naming convention. See details: https://azure.github.io/azure-sdk/python_implementation.html#naming-conventions
2026-06-07T07:10:25.1773824Z samples/sample_tracing.py:43: [C4717(missing-client-constructor-parameter-credential), SampleClient.init] Client constructor is missing a credential parameter. See details: https://azure.github.io/azure-sdk/python_design.html#client-configuration
2026-06-07T07:10:25.1774790Z samples/sample_tracing.py:43: [C4718(missing-client-constructor-parameter-kwargs), SampleClient.init] Client constructor is missing a **kwargs parameter. See details: https://azure.github.io/azure-sdk/python_design.html#client-configuration
2026-06-07T07:10:25.1775755Z samples/sample_tracing.py:54: [C4720(unapproved-client-method-name-prefix), SampleClient.sample_method] Client is not using an approved method name prefix. See details: https://azure.github.io/azure-sdk/python_design.html#service-operations
2026-06-07T07:10:25.1776795Z samples/sample_tracing.py:54: [C4723(client-method-missing-tracing-decorator), SampleClient.sample_method] Client method is missing the distributed tracing decorator - distributed_trace. Methods that make network calls should have distributed tracing. See details: https://azure.github.io/azure-sdk/python_implementation.html#distributed-tracing
2026-06-07T07:10:25.1777700Z samples/sample_tracing.py:18: [W0611(unused-import), ] Unused partial imported from functools
2026-06-07T07:10:25.1778350Z samples/sample_tracing.py:20: [W0611(unused-import), ] Unused get_tracer imported from corehttp.instrumentation
2026-06-07T07:10:25.1778697Z
2026-06-07T07:10:25.1779182Z ------------------------------------------------------------------
2026-06-07T07:10:25.1780276Z Your code has been rated at 8.92/10 (previous run: 7.96/10, +0.96)
2026-06-07T07:10:25.1780786Z
2026-06-07T07:10:25.1781323Z Looking in indexes: https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-python/pypi/simple/, https://pypi.python.org/simple
2026-06-07T07:10:25.1781832Z Collecting azure-pylint-guidelines-checker==0.5.7
2026-06-07T07:10:25.1782421Z Downloading https://pkgs.dev.azure.com/azure-sdk/29ec6040-b234-4e31-b139-33dc4287b756/_packaging/3572dbf9-b5ef-433b-9137-fc4d7768e7cc/pypi/download/azure-pylint-guidelines-checker/0.5.7/azure_pylint_guidelines_checker-0.5.7-py2.py3-none-any.whl (25 kB)
2026-06-07T07:10:25.1783025Z Installing collected packages: azure-pylint-guidelines-checker
2026-06-07T07:10:25.1783480Z Successfully installed azure-pylint-guidelines-checker-0.5.7
2026-06-07T07:10:25.1783982Z Looking in indexes: https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-python/pypi/simple/, https://pypi.python.org/simple
2026-06-07T07:10:25.1784454Z Collecting pylint==4.0.4
2026-06-07T07:10:25.1784865Z Using cached pylint-4.0.4-py3-none-any.whl (536 kB)
2026-06-07T07:10:25.1785362Z Requirement already satisfied: tomli>=1.1 in /mnt/vss/_work/1/s/.venv/corehttp/.venv_next-pylint/lib/python3.10/site-packages (from pylint==4.0.4) (2.4.1)
2026-06-07T07:10:25.1785847Z Collecting tomlkit>=0.10.1
2026-06-07T07:10:25.1786256Z Using cached tomlkit-0.15.0-py3-none-any.whl (41 kB)
2026-06-07T07:10:25.1786660Z Collecting dill>=0.2
2026-06-07T07:10:25.1787057Z Using cached dill-0.4.1-py3-none-any.whl (120 kB)
2026-06-07T07:10:25.1787576Z Requirement already satisfied: platformdirs>=2.2 in /mnt/vss/_work/1/s/.venv/corehttp/.venv_next-pylint/lib/python3.10/site-packages (from pylint==4.0.4) (4.10.0)
2026-06-07T07:10:25.1788059Z Collecting astroid<=4.1.dev0,>=4.0.2
2026-06-07T07:10:25.1788496Z Using cached astroid-4.0.4-py3-none-any.whl (276 kB)
2026-06-07T07:10:25.1788907Z Collecting mccabe<0.8,>=0.6
2026-06-07T07:10:25.1789793Z Using cached mccabe-0.7.0-py2.py3-none-any.whl (7.3 kB)
2026-06-07T07:10:25.1790313Z Collecting isort!=5.13,<8,>=5
2026-06-07T07:10:25.1790744Z Using cached isort-7.0.0-py3-none-any.whl (94 kB)
2026-06-07T07:10:25.1791221Z Requirement already satisfied: typing-extensions>=4 in /mnt/vss/_work/1/s/.venv/corehttp/.venv_next-pylint/lib/python3.10/site-packages (from astroid<=4.1.dev0,>=4.0.2->pylint==4.0.4) (4.15.0)
2026-06-07T07:10:25.1791691Z Installing collected packages: tomlkit, mccabe, isort, dill, astroid, pylint
2026-06-07T07:10:25.1792123Z Successfully installed astroid-4.0.4 dill-0.4.1 isort-7.0.0 mccabe-0.7.0 pylint-4.0.4 tomlkit-0.15.0
2026-06-07T07:10:26.3572169Z next-pylint check completed with exit code 30
2026-06-07T07:10:26.3573288Z =================================================================================
2026-06-07T07:10:26.3574171Z ===== STDERR: next-pylint :: /mnt/vss/_work/1/s/sdk/core/corehttp (exit 30) =====
2026-06-07T07:10:26.3575055Z 2026-06-07 07:08:33,781 [INFO] azure-sdk-tools: Installing from feed: https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-python/pypi/simple/
2026-06-07T07:10:26.3575784Z 2026-06-07 07:08:33,781 [INFO] azure-sdk-tools: Running pylint check...
2026-06-07T07:10:26.3576100Z 2026-06-07 07:08:37,561 [INFO] root: Found whl azure_sdk_tools-0.0.0-py3-none-any.whl
2026-06-07T07:10:26.3576241Z
2026-06-07T07:10:26.3576463Z [notice] A new release of pip is available: 23.0.1 -> 26.1.2
2026-06-07T07:10:26.3576721Z [notice] To update, run: python -m pip install --upgrade pip
2026-06-07T07:10:26.3576985Z 2026-06-07 07:08:56,589 [INFO] azure-sdk-tools: Processing corehttp for pylint check
2026-06-07T07:10:26.3577281Z 2026-06-07 07:08:56,589 [INFO] azure-sdk-tools: Installing dev requirements for /mnt/vss/_work/1/s/sdk/core/corehttp
2026-06-07T07:10:26.3577434Z
2026-06-07T07:10:26.3577656Z [notice] A new release of pip is available: 23.0.1 -> 26.1.2
2026-06-07T07:10:26.3577900Z [notice] To update, run: python -m pip install --upgrade pip
2026-06-07T07:10:26.3578012Z
2026-06-07T07:10:26.3578226Z [notice] A new release of pip is available: 23.0.1 -> 26.1.2
2026-06-07T07:10:26.3578476Z [notice] To update, run: python -m pip install --upgrade pip
2026-06-07T07:10:26.3578992Z 2026-06-07 07:09:27,214 [INFO] azure-sdk-tools: Installing corehttp-1.0.0b8.tar.gz from fresh built package.
2026-06-07T07:10:26.3579403Z 2026-06-07 07:09:27,216 [INFO] azure-sdk-tools: Executing command from /mnt/vss/_work/1/s/.venv/corehttp/.venv_next-pylint/.staging:['/mnt/vss/_work/1/s/.venv/corehttp/.venv_next-pylint/bin/python', '-m', 'pip', 'install', '/mnt/vss/_work/1/s/.venv/corehttp/.venv_next-pylint/.staging/corehttp-1.0.0b8.tar.gz']
2026-06-07T07:10:26.3580442Z
2026-06-07T07:10:26.3580919Z [notice] A new release of pip is available: 23.0.1 -> 26.1.2
2026-06-07T07:10:26.3581333Z [notice] To update, run: python -m pip install --upgrade pip
2026-06-07T07:10:26.3581768Z 2026-06-07 07:09:31,936 [INFO] azure-sdk-tools: Installed corehttp-1.0.0b8.tar.gz
2026-06-07T07:10:26.3581983Z
2026-06-07T07:10:26.3582425Z [notice] A new release of pip is available: 23.0.1 -> 26.1.2
2026-06-07T07:10:26.3582828Z [notice] To update, run: python -m pip install --upgrade pip
2026-06-07T07:10:26.3583249Z 2026-06-07 07:09:36,210 [INFO] azure-sdk-tools: Installed packages:
2026-06-07T07:10:26.3583681Z 2026-06-07 07:09:36,211 [INFO] azure-sdk-tools: aiohappyeyeballs==2.6.2
2026-06-07T07:10:26.3584079Z aiohttp==3.14.0
2026-06-07T07:10:26.3584448Z aiosignal==1.4.0
2026-06-07T07:10:26.3584794Z anyio==4.13.0
2026-06-07T07:10:26.3585147Z astroid==4.0.4
2026-06-07T07:10:26.3585501Z async-timeout==5.0.1
2026-06-07T07:10:26.3585865Z attrs==26.1.0
2026-06-07T07:10:26.3586220Z azure-core==1.41.0
2026-06-07T07:10:26.3586573Z azure-data-tables==12.7.0
2026-06-07T07:10:26.3586943Z azure-identity==1.25.3
2026-06-07T07:10:26.3587320Z azure-pylint-guidelines-checker==0.5.7
2026-06-07T07:10:26.3587739Z azure-sdk-tools @ file:///mnt/vss/_work/1/s/.wheels/azure_sdk_tools-0.0.0-py3-none-any.whl
2026-06-07T07:10:26.3588340Z azure-storage-blob==12.29.0
2026-06-07T07:10:26.3588730Z backports.asyncio.runner==1.2.0
2026-06-07T07:10:26.3589096Z bashlex==0.18
2026-06-07T07:10:26.3589441Z bracex==2.6
2026-06-07T07:10:26.3590095Z build==1.5.0
2026-06-07T07:10:26.3590450Z certifi==2026.5.20
2026-06-07T07:10:26.3590810Z cffi==2.0.0
2026-06-07T07:10:26.3591183Z charset-normalizer==3.4.7
2026-06-07T07:10:26.3591557Z cibuildwheel==2.23.3
2026-06-07T07:10:26.3591901Z click==8.4.1
2026-06-07T07:10:26.3592255Z ConfigArgParse==1.7.5
2026-06-07T07:10:26.3592652Z corehttp @ file:///mnt/vss/_work/1/s/.venv/corehttp/.venv_next-pylint/.staging/corehttp-1.0.0b8.tar.gz
2026-06-07T07:10:26.3593096Z coretestserver @ file:///mnt/vss/_work/1/s/.wheels/coretestserver-1.0.0b1-py3-none-any.whl
2026-06-07T07:10:26.3593508Z coverage==7.14.1
2026-06-07T07:10:26.3593874Z cryptography==48.0.0
2026-06-07T07:10:26.3594234Z dependency-groups==1.3.1
2026-06-07T07:10:26.3594590Z dill==0.4.1
2026-06-07T07:10:26.3594939Z exceptiongroup==1.3.1
2026-06-07T07:10:26.3595298Z filelock==3.29.1
2026-06-07T07:10:26.3595646Z Flask==2.2.5
2026-06-07T07:10:26.3596000Z frozenlist==1.8.0
2026-06-07T07:10:26.3596339Z h11==0.16.0
2026-06-07T07:10:26.3596692Z httpcore==1.0.9
2026-06-07T07:10:26.3597042Z httpx==0.28.1
2026-06-07T07:10:26.3597388Z idna==3.18
2026-06-07T07:10:26.3597740Z iniconfig==2.3.0
2026-06-07T07:10:26.3598090Z isodate==0.7.2
2026-06-07T07:10:26.3598427Z isort==7.0.0
2026-06-07T07:10:26.3598782Z itsdangerous==2.2.0
2026-06-07T07:10:26.3599136Z Jinja2==3.1.6
2026-06-07T07:10:26.3599481Z json-delta==2.0.2
2026-06-07T07:10:26.3600094Z MarkupSafe==3.0.3
2026-06-07T07:10:26.3600448Z mccabe==0.7.0
2026-06-07T07:10:26.3600797Z msal==1.37.0
2026-06-07T07:10:26.3601157Z msal-extensions==1.3.1
2026-06-07T07:10:26.3601519Z multidict==6.7.1
2026-06-07T07:10:26.3601877Z opentelemetry-api==1.42.1
2026-06-07T07:10:26.3602248Z opentelemetry-instrumentation==0.63b1
2026-06-07T07:10:26.3602643Z opentelemetry-instrumentation-requests==0.63b1
2026-06-07T07:10:26.3603019Z opentelemetry-sdk==1.42.1
2026-06-07T07:10:26.3603406Z opentelemetry-semantic-conventions==0.63b1
2026-06-07T07:10:26.3603787Z opentelemetry-util-http==0.63b1
2026-06-07T07:10:26.3604345Z packaging==26.2
2026-06-07T07:10:26.3604704Z pkginfo==1.12.1.2
2026-06-07T07:10:26.3605055Z platformdirs==4.10.0
2026-06-07T07:10:26.3605396Z pluggy==1.6.0
2026-06-07T07:10:26.3605752Z propcache==0.5.2
2026-06-07T07:10:26.3606104Z pycparser==3.0
2026-06-07T07:10:26.3606454Z Pygments==2.20.0
2026-06-07T07:10:26.3606799Z PyJWT==2.13.0
2026-06-07T07:10:26.3607143Z pylint==4.0.4
2026-06-07T07:10:26.3607475Z pyparsing==3.3.2
2026-06-07T07:10:26.3607825Z pyproject_hooks==1.2.0
2026-06-07T07:10:26.3608176Z pytest==9.0.3
2026-06-07T07:10:26.3608530Z pytest-asyncio==1.4.0
2026-06-07T07:10:26.3608886Z pytest-cov==7.1.0
2026-06-07T07:10:26.3609256Z python-dotenv==1.2.2
2026-06-07T07:10:26.3609834Z PyYAML==6.0.3
2026-06-07T07:10:26.3610235Z requests==2.34.2
2026-06-07T07:10:26.3610586Z tomli==2.4.1
2026-06-07T07:10:26.3610932Z tomli_w==1.0.0
2026-06-07T07:10:26.3611292Z tomlkit==0.15.0
2026-06-07T07:10:26.3611659Z typing_extensions==4.15.0
2026-06-07T07:10:26.3612054Z urllib3==2.7.0
2026-06-07T07:10:26.3612411Z Werkzeug==3.1.8
2026-06-07T07:10:26.3612763Z wrapt==2.2.1
2026-06-07T07:10:26.3613106Z yarl==1.24.2
2026-06-07T07:10:26.3613267Z
2026-06-07T07:10:26.3613812Z 2026-06-07 07:09:36,212 [INFO] azure-sdk-tools: ['/mnt/vss/_work/1/s/.venv/corehttp/.venv_next-pylint/bin/python', '-m', 'pylint', '--rcfile=/mnt/vss/_work/1/s/eng/pylintrc', '--output-format=parseable', '/mnt/vss/_work/1/s/sdk/core/corehttp/corehttp']
2026-06-07T07:10:26.3614422Z 2026-06-07 07:09:48,211 [INFO] azure-sdk-tools: ['/mnt/vss/_work/1/s/.venv/corehttp/.venv_next-pylint/bin/python', '-m', 'pylint', '--rcfile=/mnt/vss/_work/1/s/eng/test_pylintrc', '--output-format=parseable', '/mnt/vss/_work/1/s/sdk/core/corehttp/tests']
2026-06-07T07:10:26.3615007Z 2026-06-07 07:10:08,514 [ERROR] azure-sdk-tools: corehttp tests exited with linting error 30. Please see this link for more information https://aka.ms/azsdk/python/pylint-guide
2026-06-07T07:10:26.3615731Z 2026-06-07 07:10:08,514 [INFO] azure-sdk-tools: ['/mnt/vss/_work/1/s/.venv/corehttp/.venv_next-pylint/bin/python', '-m', 'pylint', '--rcfile=/mnt/vss/_work/1/s/eng/samples_pylintrc', '--output-format=parseable', '/mnt/vss/_work/1/s/sdk/core/corehttp/samples']
2026-06-07T07:10:26.3616304Z 2026-06-07 07:10:12,121 [ERROR] azure-sdk-tools: corehttp samples exited with linting error 20. Please see this link for more information https://aka.ms/azsdk/python/pylint-guide
2026-06-07T07:10:26.3616795Z 2026-06-07 07:10:15,446 [INFO] root: Issue exists for corehttp with pylint version 4.0.4. Updating...
2026-06-07T07:10:26.3617233Z 2026-06-07 07:10:18,040 [INFO] root: Assigned lmazuel to issue for corehttp
2026-06-07T07:10:26.3617653Z 2026-06-07 07:10:19,980 [INFO] root: Assigned annatisch to issue for corehttp
2026-06-07T07:10:26.3618079Z 2026-06-07 07:10:21,614 [INFO] root: Assigned johanste to issue for corehttp
2026-06-07T07:10:26.3618549Z 2026-06-07 07:10:23,341 [INFO] root: Assigned iscai-msft to issue for corehttp
2026-06-07T07:10:26.3618968Z 2026-06-07 07:10:25,062 [INFO] root: Assigned kashifkhan to issue for corehttp
2026-06-07T07:10:26.3619395Z =================================================================================
2026-06-07T07:10:26.3620082Z

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

  1. /mnt/vss/_work/1/s>pip install -e ./eng/tools/azure-sdk-tools
  2. ../corehttp>azpysdk next-pylint --isolate .

See the Pylint Guide for more information.

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions