[gnutls-devel] GnuTLS | Indent code? (#1419)
Read-only notification of GnuTLS library development activities
gnutls-devel at lists.gnutls.org
Fri Nov 4 23:22:38 CET 2022
Daiki Ueno commented:
I think it would be nice if the check could (1) apply different indentation rules per directory, (2) allow us to selectively disable the check even in a same source file, and (3) detect the issues as early as possible in the CI (or in a pre-commit hook, e.g., using [pre-commit](https://pre-commit.com/) tool). (1) and (2) are supported using clang-format (through `.clang-format` file in each directory and `/* clang-format off */` comment), though I'm not sure if this GNU indent based approach has such flexibility. For (3), afaik all `sc_*` rules require the project is bootstrapped.
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1419#note_1161125418
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20221104/601a15ce/attachment.html>
More information about the Gnutls-devel
mailing list