pynss-dev / python-nss

Python bindings for Network Security Services (NSS) and Netscape Portable Runtime (NSPR).
GNU General Public License v2.0
1 stars 2 forks source link

Code formatting and style #25

Open crat0z opened 1 year ago

crat0z commented 1 year ago

Currently, there are some inconsistencies. I've only looked at py_ssl.c, but there are a few cases of tabs/space differences, and e.g. PyObject * obj vs PyObject *obj etc. It would be nice if there was a a clang-format file or something similar.

kuwv commented 1 year ago

There is currently work on this. Formatting has to comply with Mozilla's standard. The original build does not use clang which would allow for better auto-formating. I have the config's in place ready to merge. First will be the multi-linux build, clang support, and then QA tools.