[NFC][Py Reformat] Reformat python files in the rest of the dirs
authorTobias Hieta <tobias@hieta.se>
Wed, 17 May 2023 14:59:41 +0000 (16:59 +0200)
committerTobias Hieta <tobias@hieta.se>
Thu, 25 May 2023 09:17:05 +0000 (11:17 +0200)
commitf98ee40f4b5d7474fc67e82824bf6abbaedb7b1c
tree98a310ca2d529f568804993c98d6a301f9f2886e
parent35ea4e2dbf32b338c14a2facfc603812e78c8239
[NFC][Py Reformat] Reformat python files in the rest of the dirs

This is an ongoing series of commits that are reformatting our
Python code. This catches the last of the python files to
reformat. Since they where so few I bunched them together.

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: jhenderson, #libc, Mordante, sivachandra

Differential Revision: https://reviews.llvm.org/D150784
248 files changed:
bolt/docs/conf.py
bolt/test/AArch64/lit.local.cfg
bolt/test/Unit/lit.cfg.py
bolt/test/X86/lit.local.cfg
bolt/test/link_fdata.py
bolt/test/lit.cfg.py
bolt/test/lit.local.cfg
bolt/test/runtime/AArch64/lit.local.cfg
bolt/test/runtime/X86/lit.local.cfg
bolt/test/runtime/lit.local.cfg
bolt/utils/dot2html/dot2html.py
bolt/utils/llvm-bolt-wrapper.py
bolt/utils/nfc-check-setup.py
compiler-rt/lib/asan/scripts/asan_symbolize.py
compiler-rt/lib/dfsan/scripts/build-libc-list.py
compiler-rt/lib/fuzzer/scripts/unbalanced_allocs.py
compiler-rt/lib/sanitizer_common/scripts/gen_dynamic_list.py
compiler-rt/lib/sanitizer_common/scripts/sancov.py
compiler-rt/test/asan/TestCases/Android/lit.local.cfg.py
compiler-rt/test/asan/TestCases/Darwin/lit.local.cfg.py
compiler-rt/test/asan/TestCases/Linux/lit.local.cfg.py
compiler-rt/test/asan/TestCases/Posix/asan_symbolize_script/plugin_no_op.py
compiler-rt/test/asan/TestCases/Posix/asan_symbolize_script/plugin_wrong_frame_number_bug.py
compiler-rt/test/asan/TestCases/Posix/lit.local.cfg.py
compiler-rt/test/asan/TestCases/Windows/lit.local.cfg.py
compiler-rt/test/asan/TestCases/Windows/msvc/lit.local.cfg.py
compiler-rt/test/asan/lit.cfg.py
compiler-rt/test/builtins/TestCases/Darwin/lit.local.cfg.py
compiler-rt/test/builtins/Unit/lit.cfg.py
compiler-rt/test/builtins/lit.cfg.py
compiler-rt/test/cfi/cross-dso/icall/lit.local.cfg.py
compiler-rt/test/cfi/cross-dso/lit.local.cfg.py
compiler-rt/test/cfi/icall/lit.local.cfg.py
compiler-rt/test/cfi/lit.cfg.py
compiler-rt/test/crt/lit.cfg.py
compiler-rt/test/dfsan/lit.cfg.py
compiler-rt/test/fuzzer/lit.cfg.py
compiler-rt/test/gwp_asan/lit.cfg.py
compiler-rt/test/hwasan/TestCases/Linux/lit.local.cfg.py
compiler-rt/test/hwasan/TestCases/Posix/lit.local.cfg.py
compiler-rt/test/hwasan/lit.cfg.py
compiler-rt/test/lit.common.cfg.py
compiler-rt/test/lsan/TestCases/Darwin/lit.local.cfg.py
compiler-rt/test/lsan/TestCases/Linux/lit.local.cfg.py
compiler-rt/test/lsan/TestCases/Posix/lit.local.cfg.py
compiler-rt/test/lsan/lit.common.cfg.py
compiler-rt/test/memprof/lit.cfg.py
compiler-rt/test/metadata/lit.cfg.py
compiler-rt/test/msan/Linux/lit.local.cfg.py
compiler-rt/test/msan/lit.cfg.py
compiler-rt/test/orc/TestCases/Darwin/arm64/lit.local.cfg.py
compiler-rt/test/orc/TestCases/Darwin/lit.local.cfg.py
compiler-rt/test/orc/TestCases/Darwin/x86-64/lit.local.cfg.py
compiler-rt/test/orc/TestCases/FreeBSD/lit.local.cfg.py
compiler-rt/test/orc/TestCases/FreeBSD/x86-64/lit.local.cfg.py
compiler-rt/test/orc/TestCases/Generic/lit.local.cfg.py
compiler-rt/test/orc/TestCases/Linux/aarch64/lit.local.cfg.py
compiler-rt/test/orc/TestCases/Linux/lit.local.cfg.py
compiler-rt/test/orc/TestCases/Linux/x86-64/lit.local.cfg.py
compiler-rt/test/orc/TestCases/Windows/lit.local.cfg.py
compiler-rt/test/orc/TestCases/Windows/x86-64/lit.local.cfg.py
compiler-rt/test/orc/lit.cfg.py
compiler-rt/test/profile/AIX/lit.local.cfg.py
compiler-rt/test/profile/Darwin/lit.local.cfg.py
compiler-rt/test/profile/Linux/lit.local.cfg.py
compiler-rt/test/profile/Posix/lit.local.cfg.py
compiler-rt/test/profile/Windows/lit.local.cfg.py
compiler-rt/test/profile/lit.cfg.py
compiler-rt/test/safestack/lit.cfg.py
compiler-rt/test/sanitizer_common/TestCases/Darwin/lit.local.cfg.py
compiler-rt/test/sanitizer_common/TestCases/FreeBSD/lit.local.cfg.py
compiler-rt/test/sanitizer_common/TestCases/Linux/lit.local.cfg.py
compiler-rt/test/sanitizer_common/TestCases/NetBSD/lit.local.cfg.py
compiler-rt/test/sanitizer_common/TestCases/Posix/lit.local.cfg.py
compiler-rt/test/sanitizer_common/android_commands/android_common.py
compiler-rt/test/sanitizer_common/android_commands/android_compile.py
compiler-rt/test/sanitizer_common/android_commands/android_run.py
compiler-rt/test/sanitizer_common/ios_commands/get_pid_from_output.py
compiler-rt/test/sanitizer_common/ios_commands/iossim_compile.py
compiler-rt/test/sanitizer_common/ios_commands/iossim_run.py
compiler-rt/test/sanitizer_common/ios_commands/print_crashreport_for_pid.py
compiler-rt/test/sanitizer_common/lit.common.cfg.py
compiler-rt/test/scudo/lit.cfg.py
compiler-rt/test/shadowcallstack/lit.cfg.py
compiler-rt/test/tsan/Darwin/lit.local.cfg.py
compiler-rt/test/tsan/Linux/lit.local.cfg.py
compiler-rt/test/tsan/libcxx/lit.local.cfg.py
compiler-rt/test/tsan/libdispatch/lit.local.cfg.py
compiler-rt/test/tsan/lit.cfg.py
compiler-rt/test/ubsan/TestCases/Misc/Linux/lit.local.cfg.py
compiler-rt/test/ubsan/TestCases/TypeCheck/Function/lit.local.cfg.py
compiler-rt/test/ubsan/TestCases/TypeCheck/Linux/lit.local.cfg.py
compiler-rt/test/ubsan/lit.common.cfg.py
compiler-rt/test/ubsan_minimal/lit.common.cfg.py
compiler-rt/test/xray/lit.cfg.py
compiler-rt/unittests/lit.common.unit.cfg.py
cross-project-tests/amdgpu/lit.local.cfg
cross-project-tests/debuginfo-tests/clang_llvm_roundtrip/lit.local.cfg
cross-project-tests/debuginfo-tests/dexter-tests/lit.local.cfg
cross-project-tests/debuginfo-tests/dexter/dex/__init__.py
cross-project-tests/debuginfo-tests/dexter/dex/builder/Builder.py
cross-project-tests/debuginfo-tests/dexter/dex/builder/ParserOptions.py
cross-project-tests/debuginfo-tests/dexter/dex/command/CommandBase.py
cross-project-tests/debuginfo-tests/dexter/dex/command/ParseCommand.py
cross-project-tests/debuginfo-tests/dexter/dex/command/StepValueInfo.py
cross-project-tests/debuginfo-tests/dexter/dex/command/commands/DexCommandLine.py
cross-project-tests/debuginfo-tests/dexter/dex/command/commands/DexDeclareAddress.py
cross-project-tests/debuginfo-tests/dexter/dex/command/commands/DexDeclareFile.py
cross-project-tests/debuginfo-tests/dexter/dex/command/commands/DexExpectProgramState.py
cross-project-tests/debuginfo-tests/dexter/dex/command/commands/DexExpectStepKind.py
cross-project-tests/debuginfo-tests/dexter/dex/command/commands/DexExpectStepOrder.py
cross-project-tests/debuginfo-tests/dexter/dex/command/commands/DexExpectWatchBase.py
cross-project-tests/debuginfo-tests/dexter/dex/command/commands/DexExpectWatchType.py
cross-project-tests/debuginfo-tests/dexter/dex/command/commands/DexExpectWatchValue.py
cross-project-tests/debuginfo-tests/dexter/dex/command/commands/DexFinishTest.py
cross-project-tests/debuginfo-tests/dexter/dex/command/commands/DexLabel.py
cross-project-tests/debuginfo-tests/dexter/dex/command/commands/DexLimitSteps.py
cross-project-tests/debuginfo-tests/dexter/dex/command/commands/DexUnreachable.py
cross-project-tests/debuginfo-tests/dexter/dex/command/commands/DexWatch.py
cross-project-tests/debuginfo-tests/dexter/dex/debugger/DebuggerBase.py
cross-project-tests/debuginfo-tests/dexter/dex/debugger/DebuggerControllers/ConditionalController.py
cross-project-tests/debuginfo-tests/dexter/dex/debugger/DebuggerControllers/ControllerHelpers.py
cross-project-tests/debuginfo-tests/dexter/dex/debugger/DebuggerControllers/DebuggerControllerBase.py
cross-project-tests/debuginfo-tests/dexter/dex/debugger/DebuggerControllers/DefaultController.py
cross-project-tests/debuginfo-tests/dexter/dex/debugger/Debuggers.py
cross-project-tests/debuginfo-tests/dexter/dex/debugger/__init__.py
cross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/__init__.py
cross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/breakpoint.py
cross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/client.py
cross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/control.py
cross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/dbgeng.py
cross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/probe_process.py
cross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/setup.py
cross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/symbols.py
cross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/symgroup.py
cross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/sysobjs.py
cross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/utils.py
cross-project-tests/debuginfo-tests/dexter/dex/debugger/lldb/LLDB.py
cross-project-tests/debuginfo-tests/dexter/dex/debugger/visualstudio/VisualStudio.py
cross-project-tests/debuginfo-tests/dexter/dex/debugger/visualstudio/VisualStudio2015.py
cross-project-tests/debuginfo-tests/dexter/dex/debugger/visualstudio/VisualStudio2017.py
cross-project-tests/debuginfo-tests/dexter/dex/debugger/visualstudio/VisualStudio2019.py
cross-project-tests/debuginfo-tests/dexter/dex/debugger/visualstudio/windows/ComInterface.py
cross-project-tests/debuginfo-tests/dexter/dex/dextIR/BuilderIR.py
cross-project-tests/debuginfo-tests/dexter/dex/dextIR/DextIR.py
cross-project-tests/debuginfo-tests/dexter/dex/dextIR/LocIR.py
cross-project-tests/debuginfo-tests/dexter/dex/dextIR/ProgramState.py
cross-project-tests/debuginfo-tests/dexter/dex/dextIR/StepIR.py
cross-project-tests/debuginfo-tests/dexter/dex/dextIR/ValueIR.py
cross-project-tests/debuginfo-tests/dexter/dex/heuristic/Heuristic.py
cross-project-tests/debuginfo-tests/dexter/dex/tools/Main.py
cross-project-tests/debuginfo-tests/dexter/dex/tools/TestToolBase.py
cross-project-tests/debuginfo-tests/dexter/dex/tools/ToolBase.py
cross-project-tests/debuginfo-tests/dexter/dex/tools/clang_opt_bisect/Tool.py
cross-project-tests/debuginfo-tests/dexter/dex/tools/help/Tool.py
cross-project-tests/debuginfo-tests/dexter/dex/tools/list_debuggers/Tool.py
cross-project-tests/debuginfo-tests/dexter/dex/tools/no_tool_/Tool.py
cross-project-tests/debuginfo-tests/dexter/dex/tools/run_debugger_internal_/Tool.py
cross-project-tests/debuginfo-tests/dexter/dex/tools/test/Tool.py
cross-project-tests/debuginfo-tests/dexter/dex/tools/view/Tool.py
cross-project-tests/debuginfo-tests/dexter/dex/utils/Environment.py
cross-project-tests/debuginfo-tests/dexter/dex/utils/Exceptions.py
cross-project-tests/debuginfo-tests/dexter/dex/utils/ExtArgParse.py
cross-project-tests/debuginfo-tests/dexter/dex/utils/Logging.py
cross-project-tests/debuginfo-tests/dexter/dex/utils/PrettyOutputBase.py
cross-project-tests/debuginfo-tests/dexter/dex/utils/ReturnCode.py
cross-project-tests/debuginfo-tests/dexter/dex/utils/RootDirectory.py
cross-project-tests/debuginfo-tests/dexter/dex/utils/Timeout.py
cross-project-tests/debuginfo-tests/dexter/dex/utils/Timer.py
cross-project-tests/debuginfo-tests/dexter/dex/utils/UnitTests.py
cross-project-tests/debuginfo-tests/dexter/dex/utils/Version.py
cross-project-tests/debuginfo-tests/dexter/dex/utils/WorkingDirectory.py
cross-project-tests/debuginfo-tests/dexter/dex/utils/posix/PrettyOutput.py
cross-project-tests/debuginfo-tests/dexter/dex/utils/windows/PrettyOutput.py
cross-project-tests/debuginfo-tests/dexter/dexter.py
cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/dex_and_source/lit.local.cfg.py
cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/precompiled_binary/lit.local.cfg.py
cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/precompiled_binary_different_dir/lit.local.cfg.py
cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/windows_noncanonical_path/lit.local.cfg.py
cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/limit_steps/lit.local.cfg
cross-project-tests/debuginfo-tests/dexter/feature_tests/lit.local.cfg
cross-project-tests/debuginfo-tests/lit.local.cfg
cross-project-tests/debuginfo-tests/llgdb-tests/lit.local.cfg
cross-project-tests/debuginfo-tests/llgdb-tests/llgdb.py
cross-project-tests/debuginfo-tests/llvm-prettyprinters/gdb/lit.local.cfg
cross-project-tests/intrinsic-header-tests/lit.local.cfg
cross-project-tests/lit.cfg.py
flang/docs/FIR/CreateFIRLangRef.py
flang/docs/conf.py
flang/examples/FlangOmpReport/yaml_summarizer.py
flang/test/Evaluate/test_folding.py
flang/test/NonGtestUnit/lit.cfg.py
flang/test/Semantics/common.py
flang/test/Semantics/test_errors.py
flang/test/Semantics/test_modfile.py
flang/test/Semantics/test_symbols.py
flang/test/Unit/lit.cfg.py
flang/test/lib/lit.local.cfg
flang/test/lit.cfg.py
libc/AOR_v20.02/math/tools/plot.py
libc/docs/conf.py
libc/utils/mathtools/GenerateHPDConstants.py
libclc/generic/lib/gen_convert.py
lld/docs/conf.py
lld/test/COFF/lit.local.cfg
lld/test/ELF/lit.local.cfg
lld/test/MachO/Inputs/DependencyDump.py
lld/test/MachO/Inputs/code-signature-check.py
lld/test/MachO/lit.local.cfg
lld/test/MachO/tools/generate-cfi-funcs.py
lld/test/MachO/tools/generate-thunkable-program.py
lld/test/MachO/tools/validate-unwind-info.py
lld/test/lit.cfg.py
lld/test/wasm/lit.local.cfg
lld/utils/benchmark.py
llvm-libgcc/generate_version_script.py
openmp/docs/conf.py
openmp/libompd/gdb-plugin/ompd/__init__.py
openmp/libompd/gdb-plugin/ompd/frame_filter.py
openmp/libompd/gdb-plugin/ompd/ompd.py
openmp/libompd/gdb-plugin/ompd/ompd_address_space.py
openmp/libompd/gdb-plugin/ompd/ompd_callbacks.py
openmp/libompd/gdb-plugin/ompd/ompd_handles.py
openmp/libomptarget/utils/generate_microtask_cases.py
openmp/runtime/test/affinity/format/check.py
polly/docs/conf.py
polly/lib/External/isl/imath/tests/gmp-compat-test/genctest.py
polly/lib/External/isl/imath/tests/gmp-compat-test/gendata.py
polly/lib/External/isl/imath/tests/gmp-compat-test/genpytest.py
polly/lib/External/isl/imath/tests/gmp-compat-test/gmpapi.py
polly/lib/External/isl/imath/tests/gmp-compat-test/runtest.py
polly/lib/External/isl/imath/tools/mkdoc.py
polly/lib/External/isl/isl_test_python.py
polly/lib/External/isl/libisl-gdb.py
polly/test/update_check.py
polly/utils/argparse.py
polly/utils/pyscop/isl.py
polly/utils/pyscop/pyscop.py
pstl/test/std/lit.local.cfg
third-party/benchmark/.ycm_extra_conf.py
third-party/benchmark/bindings/python/google_benchmark/example.py
third-party/benchmark/setup.py
third-party/benchmark/tools/compare.py
third-party/benchmark/tools/gbench/__init__.py
third-party/benchmark/tools/gbench/report.py
third-party/benchmark/tools/gbench/util.py
third-party/benchmark/tools/strip_asm.py
utils/bazel/overlay_directories.py