noisepage
noisepage copied to clipboard
Python Code Formatting / Style
We use a number of tools to enforce code formatting and style for our C++ code. At the same time, we have accumulated a non-trivial amount of Python code in our testing infrastructure (and perhaps more now in the self-driving components?), yet as far as I can tell we don't use any of the available tools for enforcing a consistent formatting and style in our Python code. Is this something we should invest in going forward?
I was pretty much following the Google Python Style Guide when developing the self-driving code. And I agree that integrating some auto-format tools in our build pipeline would be great.
I didn't build anything into CI/CD but I added a pep8 config file to the testing scripts