robotology / idyntree

Multibody Dynamics Library designed for Free Floating Robots
BSD 3-Clause "New" or "Revised" License
155 stars 65 forks source link

Attemp to provide clang formating. #1146

Open mebbaid opened 5 months ago

mebbaid commented 5 months ago

Provide .clang-format file for ./git/hooks so that formating is applied before commits. Also add task in ci for formating

traversaro commented 5 months ago

Thanks! How did you choose the .clang-format options?

mebbaid commented 5 months ago

Thanks! How did you choose the .clang-format options?

Hi, following similar options to those set in other robotology repos (yarp).

traversaro commented 5 months ago

Thanks! How did you choose the .clang-format options?

Hi, following similar options to those set in other robotology repos (yarp).

Ok! Probably for uniformity in the lab we can use the blf one?

mebbaid commented 5 months ago

Ok! Probably for uniformity in the lab we can use the blf one?

done in https://github.com/robotology/idyntree/pull/1146/commits/b9c131c28dd3e96f331f0769ebc8c56b3eeb1d30