uwreact / uwreact_robot

Software behind our fully autonomous FIRST robots
BSD 3-Clause "New" or "Revised" License
8 stars 6 forks source link

Reformat with latest yapf updates #86

Closed matthew-reynolds closed 5 years ago

matthew-reynolds commented 5 years ago

Pull Request

yapf changed its default behaviour recently. This causes some previously-conforming code to now fail to pass the linting rules. Normally, I would say this is a bad situation since a 3rd party dependency changed and affected our workflow, but I actually much prefer the new default that yapf uses, so I'm not too upset. It also brings the Python and C++ code styles closer to each other, so extra bonus (AllOnOneLineOrOnePerLine type of thing).

Note that this PR blocks all other PRs at the moment, since no code can land until our codebase and linters match up again.

Contribution Checklist

Change Checklist