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-07-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-21)

Pylint Errors:

2025-04-21T05:03:42.2939421Z ************* Module azure.communication.sms._sms_client
2025-04-21T05:03:42.2940373Z azure/communication/sms/_sms_client.py:35: [C4761(do-not-use-legacy-typing), SmsClient.init] Do not use legacy typing using comments.
2025-04-21T05:03:42.2941379Z 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-21T05:03:42.2941782Z
2025-04-21T05:03:42.2942265Z -----------------------------------
2025-04-21T05:03:42.2942772Z Your code has been rated at 9.97/10
2025-04-21T05:03:42.2943012Z
2025-04-21T05:03:43.5243004Z

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