Skip to content

WIP: Format Python with black

Alex Pearce requested to merge apearce/Gaudi:apearce-black into master

Not for merging.

Applied the black formatter to Gaudi, c.f. lhcb/LHCb#42., on top of !908 (closed). Done as:

black . 2> black.log

Log file available here.

I did not anticipate that, while black can in principle run over Python 2 files, it hesitates on files that cannot be parsed by the Python 3 AST parser. This behaviour can be overridden but I left these files unformatted for now.

Edited by Alex Pearce

Merge request reports