[Mailman-Developers] Re: Code formatting tools for Mailman project

2022-10-31 Thread Stephen J. Turnbull
Abhilash Raj writes: > I don't see the tools actually supporting formatting only-diffs. I don't know if git diff supports everything GNU diff does but --ignore-all-space would likely help quite a bit. It shouldn't be that hard to write a blue-diff command for git: 1. create a temporary branche

[Mailman-Developers] Re: Code formatting tools for Mailman project

2022-10-31 Thread Abhilash Raj
On 10/28/22 00:04, Stephen J. Turnbull wrote: Abhilash Raj writes: > I am not sure I understand this part. Do you mean to say we'd be getting > too may PRs with "formatting-only" changes? No, I mean the diffs we do to localize errors. The day after you merge the reformatting PR, anybody who

[Mailman-Developers] Re: Code formatting tools for Mailman project

2022-10-27 Thread Stephen J. Turnbull
Abhilash Raj writes: > > I (speaking only for myself) have no objection going forward for new > > files and major refactorings. But if you do this all at once, I fear > > that most interesting diffs for the next year or so will be full of > > reformatting cruft, > > I am not sure I unders

[Mailman-Developers] Re: Code formatting tools for Mailman project

2022-10-27 Thread Abhilash Raj
On 10/27/22 22:10, Stephen J. Turnbull wrote: Abhilash Raj writes: > 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[1] Please don't hurry to merge this to main/master. Remember that Pyth