> A lot of the files in the uwsgi project have widely different syntax
> styling, so
> I went ahead and tried to standardize all that I could. When deciding
> between
> two different style decisions, I went with the one that was already in
> greater
> use.
>
> For example, some of the C files end in " ;", most end in ";". I changed
> them all
> to ";". Little changes like this make the code easier to follow and
> understand.
>
> I also converted all the mixed space & tabs in C files to just tabs, if
> just for
> consistency's sake.
>
> For Python I did the opposite to conform with PEP 8 specifications.
>
> In summary,
>
> Python:
> * Conform to PEP8
> * Change tabs to 4 spaces
> * Remove EOL whitespace
>
> C:
> * ";" instead of " ;"
> * Try to remove newlines before closing braces
> * "void x() {" instead of "void x()\n{"
> * Remove EOL whitespace
> * Turn spaces into tabs
>
>Thanks a lot, i have applied a good part of it. Do you have a script to automize this ? -- Roberto De Ioris http://unbit.it _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
