January 24
On Monday, 22 January 2024 at 16:24:48 UTC, Richard (Rikki) Andrew Cattermole wrote:
> [...]
> With an automatic formatting tool, we can simply fix the code and move on with our lives. No nitpicking, no asking how do I fix this error, just ready to merge code!

What if a contributor thinks their whole code shall be exempt from reformatting by putting

    // dfmt off

in the very first line of the translation unit?


January 25
On 25/01/2024 10:36 AM, kdevel wrote:
> On Monday, 22 January 2024 at 16:24:48 UTC, Richard (Rikki) Andrew Cattermole wrote:
>> [...]
>> With an automatic formatting tool, we can simply fix the code and move on with our lives. No nitpicking, no asking how do I fix this error, just ready to merge code!
> 
> What if a contributor thinks their whole code shall be exempt from reformatting by putting
> 
>      // dfmt off
> 
> in the very first line of the translation unit?

We do the same thing we do today if someone disables style checks without a very good reason.

Push back and get them to turn it back on.
1 2
Next ›   Last »