noisepage icon indicating copy to clipboard operation
noisepage copied to clipboard

Python Code Formatting / Style

Open turingcompl33t opened this issue 4 years ago • 2 comments

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?

turingcompl33t avatar Feb 13 '21 17:02 turingcompl33t

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.

linmagit avatar Feb 13 '21 17:02 linmagit

I didn't build anything into CI/CD but I added a pep8 config file to the testing scripts

bialesdaniel avatar Feb 13 '21 18:02 bialesdaniel