Skip to content

azure-schemaregistry-avroencoder needs linting updates for pylint version 3.2.7 #39280

Open
@azure-sdk

Description

@azure-sdk

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

Library name: azure-schemaregistry-avroencoder
Pylint version: 3.2.7
Pylint Build: Link to build (2025-04-20)

Pylint Errors:

2025-04-20T19:33:52.6449036Z ************* Module schemaregistry.encoder.avroencoder.aio._async_lru
2025-04-20T19:33:52.6450073Z azure/schemaregistry/encoder/avroencoder/aio/_async_lru.py:32: [C4763(do-not-import-asyncio), ] If asyncio.sleep() is being called and there is an azure core transport created, we should instead use the sleep function from the azure.core.pipeline.transport context instead of importing asyncio. For other imports of asyncio, ignore this warning.
2025-04-20T19:33:52.6450884Z
2025-04-20T19:33:52.6451544Z ------------------------------------------------------------------
2025-04-20T19:33:52.6451983Z Your code has been rated at 9.97/10 (previous run: 9.96/10, +0.01)
2025-04-20T19:33:52.6452205Z
2025-04-20T19:33:53.6867706Z

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

  1. ../azure-schemaregistry-avroencoder>pip install "tox<5"
  2. ../azure-schemaregistry-avroencoder>tox run -e next-pylint -c ../../../eng/tox/tox.ini --root .

See the Pylint Guide for more information.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions