[PATCH] D150545: [NFC][Py Reformat] Reformat python files in llvm

Tobias Hieta via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 17 01:55:44 PDT 2023


thieta added a comment.

Ah, I forgot to update the summary in this diff so the final commit message doesn't contain my help info :(

If anyone finds this diff and are having problems with the commit because rebase/merge issues here is what I wrote and the rest of the commits will contain:

  This is the first commit in a series that will reformat
  all the python files in the LLVM repository.
  
  Reformatting is done with `black`.
  
  If you end up having problems merging this commit because you
  have made changes to a python file, the best way to handle that
  is to run git checkout --ours <yourfile> and then reformat it
  with black.
  
  If you run into any problems, post to discourse about it and
  we will try to help.
  
  RFC Thread below:
  
  https://discourse.llvm.org/t/rfc-document-and-standardize-python-code-style


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D150545/new/

https://reviews.llvm.org/D150545



More information about the llvm-commits mailing list