On Thu, Apr 22, 2021 at 12:03:57AM +0200, Thomas Monjalon wrote: > A couple of mistakes slipped in the mass change. > > More mistakes could happen, especially when rebasing pending patches, so > we need an automatic check. > I have a partially-done script from when I was doing the original reindenting work, which I'll clean up a little and send on shortly.
It only checks indent of lists and I'm extending it to check for trailing commas, but it may serve as a basis for further checks. On the plus side, it does automatic fixing of those issues though. Running it will probably show up more minor misses, so I'd suggest holding off on this patch until then. Regards, /Bruce