Skip to content

azure-communication-sms needs linting updates for pylint version 3.2.7 #39289

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

Pylint Errors:

2025-04-07T05:04:37.8665655Z ************* Module azure.communication.sms._sms_client
2025-04-07T05:04:37.8666382Z azure/communication/sms/_sms_client.py:35: [C4761(do-not-use-legacy-typing), SmsClient.init] Do not use legacy typing using comments.
2025-04-07T05:04:37.8666872Z azure/communication/sms/_sms_client.py:58: [C4761(do-not-use-legacy-typing), SmsClient.from_connection_string] Do not use legacy typing using comments.
2025-04-07T05:04:37.8667112Z
2025-04-07T05:04:37.8667407Z -----------------------------------
2025-04-07T05:04:37.8667718Z Your code has been rated at 9.97/10
2025-04-07T05:04:37.8667862Z
2025-04-07T05:04:39.0456412Z

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

See the Pylint Guide for more information.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions