[all-commits] [llvm/llvm-project] 7bfaa0: [NFC][Py Reformat] Reformat python files in libcxx...

Tobias Hieta via All-commits all-commits at lists.llvm.org
Thu May 25 02:15:48 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7bfaa0f09d0564f315ea778023b34b8a113ec740
      https://github.com/llvm/llvm-project/commit/7bfaa0f09d0564f315ea778023b34b8a113ec740
  Author: Tobias Hieta <tobias at hieta.se>
  Date:   2023-05-25 (Thu, 25 May 2023)

  Changed paths:
    M libcxx/benchmarks/lit.cfg.py
    M libcxx/docs/conf.py
    M libcxx/test/libcxx/experimental/lit.local.cfg
    M libcxx/test/libcxx/gdb/gdb_pretty_printer_test.py
    M libcxx/test/libcxx/input.output/file.streams/lit.local.cfg
    M libcxx/test/libcxx/input.output/filesystems/lit.local.cfg
    M libcxx/test/libcxx/input.output/iostream.format/lit.local.cfg
    M libcxx/test/libcxx/input.output/iostream.objects/lit.local.cfg
    M libcxx/test/libcxx/input.output/iostreams.base/lit.local.cfg
    M libcxx/test/libcxx/input.output/stream.buffers/lit.local.cfg
    M libcxx/test/libcxx/input.output/string.streams/lit.local.cfg
    M libcxx/test/libcxx/lint/lint_cmakelists.sh.py
    M libcxx/test/libcxx/lint/lint_headers.sh.py
    M libcxx/test/libcxx/lint/lint_modulemap.sh.py
    M libcxx/test/libcxx/lit.local.cfg
    M libcxx/test/libcxx/localization/lit.local.cfg
    M libcxx/test/libcxx/selftest/additional_compile_flags/lit.local.cfg
    M libcxx/test/libcxx/selftest/dsl/dsl.sh.py
    M libcxx/test/libcxx/selftest/dsl/lit.local.cfg
    M libcxx/test/libcxx/transitive_includes_to_csv.py
    M libcxx/test/lit.cfg.py
    M libcxx/test/std/depr/depr.ios.members/lit.local.cfg
    M libcxx/test/std/depr/depr.str.strstreams/lit.local.cfg
    M libcxx/test/std/experimental/lit.local.cfg
    M libcxx/test/std/input.output/file.streams/lit.local.cfg
    M libcxx/test/std/input.output/filesystems/lit.local.cfg
    M libcxx/test/std/input.output/input.output.general/lit.local.cfg
    M libcxx/test/std/input.output/iostream.format/lit.local.cfg
    M libcxx/test/std/input.output/iostream.forward/lit.local.cfg
    M libcxx/test/std/input.output/iostream.objects/lit.local.cfg
    M libcxx/test/std/input.output/iostreams.base/lit.local.cfg
    M libcxx/test/std/input.output/iostreams.requirements/lit.local.cfg
    M libcxx/test/std/input.output/stream.buffers/lit.local.cfg
    M libcxx/test/std/input.output/string.streams/lit.local.cfg
    M libcxx/test/std/iterators/stream.iterators/lit.local.cfg
    M libcxx/test/std/localization/lit.local.cfg
    M libcxx/test/std/re/lit.local.cfg
    M libcxx/test/std/strings/basic.string/string.nonmembers/string.io/lit.local.cfg
    M libcxx/utils/cat_files.py
    M libcxx/utils/gdb/libcxx/printers.py
    M libcxx/utils/generate_abi_list.py
    M libcxx/utils/generate_feature_test_macro_components.py
    M libcxx/utils/generate_header_inclusion_tests.py
    M libcxx/utils/generate_header_tests.py
    M libcxx/utils/generate_iwyu_mapping.py
    M libcxx/utils/generate_width_estimation_table.py
    M libcxx/utils/libcxx/__init__.py
    M libcxx/utils/libcxx/sym_check/__init__.py
    M libcxx/utils/libcxx/sym_check/diff.py
    M libcxx/utils/libcxx/sym_check/extract.py
    M libcxx/utils/libcxx/sym_check/match.py
    M libcxx/utils/libcxx/sym_check/util.py
    M libcxx/utils/libcxx/test/config.py
    M libcxx/utils/libcxx/test/dsl.py
    M libcxx/utils/libcxx/test/features.py
    M libcxx/utils/libcxx/test/format.py
    M libcxx/utils/libcxx/test/googlebenchmark.py
    M libcxx/utils/libcxx/test/params.py
    M libcxx/utils/run.py
    M libcxx/utils/ssh.py
    M libcxx/utils/sym_diff.py
    M libcxxabi/test/lit.cfg.py
    M libcxxabi/test/native/arm-linux-eabi/lit.local.cfg
    M libunwind/docs/conf.py
    M libunwind/test/lit.cfg.py

  Log Message:
  -----------
  [NFC][Py Reformat] Reformat python files in libcxx/libcxxabi

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

Reviewed By: #libc, kwk, Mordante

Differential Revision: https://reviews.llvm.org/D150763




More information about the All-commits mailing list