Skip to content

azure-eventgrid needs linting updates for pylint version 3.2.7 #39273

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

Pylint Errors:

2025-04-20T12:48:23.3710475Z ************* Module azure.eventgrid._model_base
2025-04-20T12:48:23.3711280Z azure/eventgrid/_model_base.py:391: [W0221(arguments-differ), _MyMutableMapping.pop] Number of parameters was 3 in 'MutableMapping.pop' and is now 2 in overriding '_MyMutableMapping.pop' method
2025-04-20T12:48:23.3711882Z azure/eventgrid/_model_base.py:394: [W0222(signature-differs), _MyMutableMapping.pop] Signature differs from overridden 'pop' method
2025-04-20T12:48:23.3712404Z azure/eventgrid/_model_base.py:397: [W0222(signature-differs), _MyMutableMapping.pop] Signature differs from overridden 'pop' method
2025-04-20T12:48:23.3712955Z azure/eventgrid/_model_base.py:410: [W0221(arguments-differ), _MyMutableMapping.update] Number of parameters was 1 in 'MutableMapping.update' and is now 3 in overriding '_MyMutableMapping.update' method
2025-04-20T12:48:23.3713708Z azure/eventgrid/_model_base.py:417: [W0222(signature-differs), _MyMutableMapping.setdefault] Signature differs from overridden 'setdefault' method
2025-04-20T12:48:23.3713930Z
2025-04-20T12:48:23.3714209Z -----------------------------------
2025-04-20T12:48:23.3714529Z Your code has been rated at 9.99/10
2025-04-20T12:48:23.3714692Z
2025-04-20T12:48:24.8738448Z

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-eventgrid>pip install "tox<5"
  2. ../azure-eventgrid>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