AdaCore / Ada_Drivers_Library

Ada source code and complete sample GNAT projects for selected bare-board platforms supported by GNAT.
BSD 3-Clause "New" or "Revised" License
240 stars 141 forks source link

Style check only on pull requests #271

Closed Fabien-Chouteau closed 6 years ago

Fabien-Chouteau commented 6 years ago

Björn made a good comment on comp.lang.ada that enforcing the coding style with error message (-gnaty -gnatwe) is not friendly for beginners starting to use the library.

In the end we only want to enforce the coding style on code that is checked-in. So there might be a way to only enable style check for pull requests validation.

yannickmoy commented 6 years ago

why? This only applies to the library itself, not the user code.

Fabien-Chouteau commented 6 years ago

It also applies to the examples that users will start from.