vsphere-automation-sdk-python
vsphere-automation-sdk-python copied to clipboard
Fix pylint warning `raise-missing-from`
Changes Made:
- Applied automated fixes for the pylint warning
raise-missing-from. "Python's exception chaining shows the traceback of the current exception, but also of the original exception. When you raise a new exception after another exception was caught it's likely that the second exception is a friendly re-wrapping of the first exception. In such casesraise fromprovides a better link between the two tracebacks in the final error. See https://pylint.readthedocs.io/en/stable/user_guide/messages/warning/raise-missing-from.html"
Note:
This pull request is part of a research project conducted by researchers from TU Delft, titled "PyWarnFixer: Using ML to Fix Pylint Warnings." The goal of this study is to investigate the perceptions and practices of code quality among developers in Python open-source projects and to develop a tool that uses AI to automatically fix pylint warnings.
Research Study Information:
This pull request is part of a research project. For more information about the study, please visit the project's information page.
Consent to Participate:
If you review this pull request, you are invited to participate in our study. Your participation is voluntary. To provide your consent, just open an issue in our repository with the provided template using the following link: consent issue template .
Thank you for considering participation in our research. Your feedback is crucial and highly valued. If you have any questions or concerns, please contact the Responsible Researcher at [email protected].