chore: add 2 return type hints in update-user-guide-links.py#54953
chore: add 2 return type hints in update-user-guide-links.py#54953travellingsoldier85 wants to merge 1 commit intokubernetes:mainfrom
Conversation
|
|
Welcome @travellingsoldier85! |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
✅ Pull request preview available for checkingBuilt without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
@travellingsoldier85 Thanks a lot for your contribution It looks like the CLA (Contributor License Agreement) hasn’t been signed yet. Could you please complete that? It’s required for us to accept contributions. You should see a prompt/check in this PR to guide you. Also, for documentation updates, we first make changes in the English (en) version, and then propagate those changes to other localized versions. So please ensure the update is applied in the en content first. Once these are done, we can take another look. Thanks again for your contribution! |
Summary
Added concrete return type annotations to functions in
content/bn/docs/update-user-guide-links.pybased on static analysis of return statements.Changes
-> listto function-> strto functionType of Change
Motivation
These type annotations are inferred from actual return values in the function bodies (e.g.
return True→-> bool,return []→-> list). They improve:No functional changes — only type annotations added.