kate clang-format
Christoph Cullmann
christoph at cullmann.io
Sun Oct 6 12:42:39 BST 2019
On 2019-10-06 13:29, Albert Astals Cid wrote:
> El diumenge, 6 d’octubre de 2019, a les 13:17:54 CEST, Mark
> Nauwelaerts va escriure:
>> Hi All,
>>
>> Recently a .clang-format file was added to kate repo along with a
>> reformat.sh
>> helper script to suitably format all files. However, applying the
>> latter script
>> (again) shows a diff, where presumably the ideal intention is that
>> there is no diff.
>>
>> So, maybe some sort of format/linting should or could be added?
>> Perhaps by means
>> of a git-commit hook, or some automated job (like translations) that
>> auto-formats in case some author did not format accordingly?
>
> Since kate is in invent.kde.org a CI job that makes sure the
> formatting is correct is the solution.
>
> That way no commit will go in without being checked.
>
> Except for the people that do direct pushes ;)
CI support would be great.
At the moment just feel free to push the reformat commit.
Greetings
Christoph
>
> Cheers,
> Albert
>
>>
>> Regards,
>> Mark
>>
--
Ignorance is bliss...
https://cullmann.io | https://kate-editor.org
More information about the KWrite-Devel
mailing list