libm2k icon indicating copy to clipboard operation
libm2k copied to clipboard

Enforce coding style

Open DanielGuramulta opened this issue 6 years ago • 2 comments

Enforce coding style on commits.

To prevent files mixing different coding styles

// example
if () {
    ...
}

if() {
    ...
}

we make Travis check the style of the files, being edited(patched) in the commit(commit range), and if something is not formatted according to the .clang-format files specifications, we fail the build.

For this to go through, we need:

  1. to discuss the coding style and code it into .clang-format
  2. format the existing code
  3. remove the test commit a3bc159

DanielGuramulta avatar Oct 07 '19 16:10 DanielGuramulta

Some commits could use some descriptions

commodo avatar Oct 08 '19 06:10 commodo

commits could use a description

commodo avatar Oct 09 '19 06:10 commodo