srmainwaring / asv_wave_sim

This package contains plugins that support the simulation of waves and surface vessels in Gazebo.
GNU General Public License v3.0
110 stars 29 forks source link

Style: apply cpplint to headers and source in core lib #107

Closed srmainwaring closed 1 year ago

srmainwaring commented 1 year ago

This PR adds a cpplint workflow and includes changes needed for the code in the core library to run clean.

Details

The cpplint workflow is:

.github/workflows/cpplint.yml

with a configuration file:

./CPPLINT.cfg

We set the following filters:

filter=-whitespace/braces,-runtime/references,-build/c++11,+build/c++14,-build/include_subdir

The CI covers the core libraries - the remaining files will be added to the coverage in follow up PRs.

There are a lot of changes in many files, however it is mostly formatting to comply with the linter.