It can yield some pretty ugly results, though. It might be a good idea to just switch to PEP 7, but I couldn't find an uncrustify config online for that. Either I'll have to make one myself, or if anyone has any better suggestions (or their own uncrusitfy configuration), we could perhaps switch to that.
Description:
Some of the C API is kind of ugly - we don't really have a set style guide. The current
uncrustify.cfg
file that I use looks like this:It can yield some pretty ugly results, though. It might be a good idea to just switch to PEP 7, but I couldn't find an uncrustify config online for that. Either I'll have to make one myself, or if anyone has any better suggestions (or their own uncrusitfy configuration), we could perhaps switch to that.