google / googletest

GoogleTest - Google Testing and Mocking Framework
https://google.github.io/googletest/
BSD 3-Clause "New" or "Revised" License
33.79k stars 10k forks source link

Update Python Coding Style to Snake Style #4362

Closed mendax0110 closed 10 months ago

mendax0110 commented 10 months ago

PR Description:

This PR aligns the Python tests with the style guide by updating method names to snake_case.

Improvement:

Consistent naming conventions improve code readability and maintainability, enhancing our code quality and adherence to industry standards.

dinord commented 10 months ago

Thanks for sending this pull request. Unfortunately, our internal linter tolerates PascalCase function names and even fails if a python file contains both snake_case and PascalCase functions.

I'd recommend doing a combination of: