azure-sdk-for-python icon indicating copy to clipboard operation
azure-sdk-for-python copied to clipboard

azure-communication-email needs linting updates for pylint version 3.3.6

Open azure-sdk opened this issue 2 years ago • 0 comments

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-communication-email Pylint version: 3.3.6 Pylint Build: Link to build (2025-06-22)

Pylint Errors:

2025-06-22T01:34:10.6339718Z ************* Module azure.communication.email._email_client 2025-06-22T01:34:10.6340839Z 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-06-22T01:34:10.6341619Z ************* Module azure.communication.email.aio._email_client_async 2025-06-22T01:34:10.6342351Z 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-06-22T01:34:10.6342798Z 2025-06-22T01:34:10.6343290Z ----------------------------------- 2025-06-22T01:34:10.6343732Z Your code has been rated at 9.98/10 2025-06-22T01:34:10.6343911Z 2025-06-22T01:34:11.6975906Z

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.

azure-sdk avatar Oct 22 '23 01:10 azure-sdk