YAPF
Format Python source consistently with a configurable style.
google · Code and testing
GitHub projectOpen source Open on GitHubHow to try it
In a Python virtual environment, install yapf==0.43.0. Fix spacing in a small list and inspect the formatted result.
What we tested
0.43.0. Fix spacing in a small list and inspect the formatted result. Reported the file changed and produced the expected list formatting.