Skip to content

azure-communication-email needs linting updates for pylint version 3.2.7 #32626

Open
@azure-sdk

Description

@azure-sdk

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

Library name: azure-communication-email
Pylint version: 3.2.7
Pylint Build: Link to build (2025-04-06)

Pylint Errors:

2025-04-06T01:33:14.3231800Z ************* Module azure.communication.email._email_client
2025-04-06T01:33:14.3232964Z azure/communication/email/_email_client.py:73: [C4758(docstring-keyword-should-match-keyword-only), EmailClient.begin_send] "continuation_token" missing in docstring or in method signature. There should be a direct correlation between :keyword: arguments in the docstring and keyword-only arguments in method signature. See details: https://azure.github.io/azure-sdk/python_documentation.html#docstrings
2025-04-06T01:33:14.3234064Z ************* Module azure.communication.email.aio._email_client_async
2025-04-06T01:33:14.3234925Z azure/communication/email/aio/_email_client_async.py:73: [C4758(docstring-keyword-should-match-keyword-only), EmailClient.begin_send] "continuation_token" missing in docstring or in method signature. There should be a direct correlation between :keyword: arguments in the docstring and keyword-only arguments in method signature. See details: https://azure.github.io/azure-sdk/python_documentation.html#docstrings
2025-04-06T01:33:14.3235454Z
2025-04-06T01:33:14.3235931Z -----------------------------------
2025-04-06T01:33:14.3236443Z Your code has been rated at 9.97/10
2025-04-06T01:33:14.3236637Z
2025-04-06T01:33:15.3870749Z

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

See the Pylint Guide for more information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ClientThis issue points to a problem in the data-plane of the library.Communication - EmailService AttentionWorkflow: This issue is responsible by Azure service team.pylint

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions