[PATCH] D150782: [NFC][Py Reformat] Reformat python files in mlir subdir

Tobias Hieta via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 17 07:56:02 PDT 2023


thieta created this revision.
thieta added reviewers: jhenderson, barannikov88, JDevlieghere, MatzeB, mehdi_amini.
Herald added subscribers: bviyer, hanchung, jsetoain, Moerafaat, zero9178, anlunx, bzcheeseman, ThomasRaoux, awarzynski, sdasgup3, wenzhicui, wrengr, cota, teijeong, rdzhabarov, tatianashp, msifontes, jurahul, Kayjukh, grosul1, Joonsoo, liufengdb, aartbik, mgester, arpith-jacob, csigg, antiagainst, shauheen, rriddle, s.egerton, simoncook, asb.
Herald added a reviewer: antiagainst.
Herald added a reviewer: rriddle.
Herald added a reviewer: aartbik.
Herald added a reviewer: ftynse.
Herald added a reviewer: aartbik.
Herald added a reviewer: ThomasRaoux.
Herald added a reviewer: ftynse.
Herald added a reviewer: dcaballe.
Herald added a project: All.
thieta requested review of this revision.
Herald added a reviewer: nicolasvasilache.
Herald added subscribers: pcwang-thead, stephenneuendorffer, nicolasvasilache.
Herald added a reviewer: herhut.
Herald added a project: MLIR.

This is an ongoing series of commits that are reformatting our
Python code.

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

https://reviews.llvm.org/D150782

Files:
  mlir/examples/standalone/test/CAPI/lit.local.cfg
  mlir/examples/standalone/test/python/lit.local.cfg
  mlir/test/CAPI/lit.local.cfg
  mlir/test/Conversion/GPUToCUDA/lit.local.cfg
  mlir/test/Conversion/GPUToROCm/lit.local.cfg
  mlir/test/Examples/Toy/Ch6/lit.local.cfg
  mlir/test/Examples/Toy/Ch7/lit.local.cfg
  mlir/test/Examples/lit.local.cfg
  mlir/test/Examples/standalone/lit.local.cfg
  mlir/test/Integration/Dialect/Async/CPU/lit.local.cfg
  mlir/test/Integration/Dialect/LLVMIR/CPU/X86/lit.local.cfg
  mlir/test/Integration/Dialect/LLVMIR/CPU/lit.local.cfg
  mlir/test/Integration/Dialect/SparseTensor/CPU/lit.local.cfg
  mlir/test/Integration/Dialect/SparseTensor/GPU/CUDA/lit.local.cfg
  mlir/test/Integration/Dialect/SparseTensor/python/lit.local.cfg
  mlir/test/Integration/Dialect/SparseTensor/taco/lit.local.cfg
  mlir/test/Integration/Dialect/Vector/CPU/AMX/lit.local.cfg
  mlir/test/Integration/Dialect/Vector/CPU/ArmSME/lit.local.cfg
  mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/lit.local.cfg
  mlir/test/Integration/Dialect/Vector/CPU/X86Vector/lit.local.cfg
  mlir/test/Integration/Dialect/Vector/GPU/CUDA/lit.local.cfg
  mlir/test/Integration/GPU/CUDA/TensorCore/lit.local.cfg
  mlir/test/Integration/GPU/CUDA/lit.local.cfg
  mlir/test/Integration/GPU/ROCM/lit.local.cfg
  mlir/test/Integration/lit.local.cfg
  mlir/test/lib/Dialect/Test/lit.local.cfg
  mlir/test/lib/Dialect/Transform/lit.local.cfg
  mlir/test/lib/Tools/PDLL/lit.local.cfg
  mlir/test/lib/Transforms/lit.local.cfg
  mlir/test/mlir-cpu-runner/lit.local.cfg
  mlir/test/mlir-pdll-lsp-server/lit.local.cfg
  mlir/test/mlir-pdll/lit.local.cfg
  mlir/test/mlir-spirv-cpu-runner/lit.local.cfg
  mlir/test/mlir-vulkan-runner/lit.local.cfg
  mlir/test/python/dialects/linalg/opdsl/lit.local.cfg
  mlir/test/python/lit.local.cfg
  mlir/test/tblgen-lsp-server/lit.local.cfg

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150782.523052.patch
Type: text/x-patch
Size: 20243 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230517/786c4194/attachment-0001.bin>


More information about the llvm-commits mailing list