Hey Everyone,I am trying out some of the code formatting tools on Mailman repos to help reduce some efforts in development. The tools I am trying out is blue and isort to format code and imports. We've been using isort on some repos, but am planning to expand that to all projects.
I am also adding a new tox command `tox -e format` that should run the appropriate commands locally for users to run.
The choice of tool, blue in this case, was mostly motivated by the design choices that align closest with Mailman's as Barry is a co-owner of the tool and authored Mailman's style guide as well.
If there are any issues with these tools, please let me know or feel free to open an issue on the project and ping me there.
I've started off with Postorius, but will expand further to other projects. Core will probably be updated towards the last.
: https://blue.readthedocs.io/en/latest/# : https://pycqa.github.io/isort/index.html : https://gitlab.com/mailman/postorius/-/merge_requests/734 -- thanks, Abhilash Raj (maxking)
Description: OpenPGP digital signature
_______________________________________________ Mailman-Developers mailing list -- firstname.lastname@example.org To unsubscribe send an email to mailman-developers-le...@python.org https://mail.python.org/mailman3/lists/mailman-developers.python.org/ Mailman FAQ: https://wiki.list.org/x/AgA3 Security Policy: https://wiki.list.org/x/QIA9