robotology / gym-ignition

Framework for developing OpenAI Gym robotics environments simulated with Ignition Gazebo
https://robotology.github.io/gym-ignition
GNU Lesser General Public License v3.0
220 stars 26 forks source link

Enforce compliance of clang-format style #375

Closed diegoferigo closed 2 years ago

diegoferigo commented 2 years ago

This PR introduces a new workflow that uses diegoferigo/gh-action-clang-format to enforce on opened PRs the C++ style defined in the file .clang-format stored in the repository root.

Note: the workflow filters only *.cpp and *.h files, therefore the vendored resources from upstream (that use *.hh and *.cc) are not affected.

I plan on the long term to do something similar also for Python using black.