Closed cpawley closed 2 years ago
Needs some more investigating - should ignore files in e.g. examples, datafiles, archive etc.
It works finally, but need to discuss how useful this would be - I think if we either apply the recommendations (maybe in another PR) or just let it do so - that would be the best - it depends how much we trust this software to auto-correct our bad formatting without loosing functionality
I guess we would merge this in --diff mode initially, then make a new PR with which applies all these recommended changes...
This would run the Black Linter on each push and MR, the output of this would be placed into the console.
At the moment the --diff flag just reports the things Black would reformat - but it doesn't actually do them.
I guess in the first commit it's generally going to be very unhappy. Maybe we should run Black over the whole codebase first and then setup the CI