]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb: re-format Python files using black 21.4b0 users/simark/black
authorSimon Marchi <simon.marchi@polymtl.ca>
Mon, 26 Apr 2021 15:06:27 +0000 (11:06 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Mon, 26 Apr 2021 15:50:51 +0000 (11:50 -0400)
commit7c45c0c0fa8e2d8d9501b4fc108a456a3842e502
treec33b9446a8f6db6cd480ea963bad7e42240ced4d
parentbea3329b76cf131ad4ac27acb6728b38984998b9
gdb: re-format Python files using black 21.4b0

Re-format all Python files using black [1] version 21.4b0.

This specific version (currently the latest) can be installed using:

    $ pip3 install 'black == 21.4b0'

All you need to do to re-format files is run `black <file/directory>`,
and black will re-format any Python file it finds in there.  It runs
quite fast, so the simplest is probably to do:

    $ black gdb/

from the top-level.

Change-Id: I28588a22c2406afd6bc2703774ddfff47cd61919
81 files changed:
gdb/contrib/test_pubnames_and_indexes.py
gdb/copyright.py
gdb/python/lib/gdb/FrameDecorator.py
gdb/python/lib/gdb/FrameIterator.py
gdb/python/lib/gdb/__init__.py
gdb/python/lib/gdb/command/__init__.py
gdb/python/lib/gdb/command/explore.py
gdb/python/lib/gdb/command/frame_filters.py
gdb/python/lib/gdb/command/pretty_printers.py
gdb/python/lib/gdb/command/prompt.py
gdb/python/lib/gdb/command/type_printers.py
gdb/python/lib/gdb/command/unwinders.py
gdb/python/lib/gdb/command/xmethods.py
gdb/python/lib/gdb/frames.py
gdb/python/lib/gdb/function/as_string.py
gdb/python/lib/gdb/function/caller_is.py
gdb/python/lib/gdb/function/strfns.py
gdb/python/lib/gdb/printer/bound_registers.py
gdb/python/lib/gdb/printing.py
gdb/python/lib/gdb/prompt.py
gdb/python/lib/gdb/types.py
gdb/python/lib/gdb/unwinder.py
gdb/python/lib/gdb/xmethod.py
gdb/python/python-config.py
gdb/syscalls/arm-linux.py
gdb/system-gdbinit/elinos.py
gdb/system-gdbinit/wrs-linux.py
gdb/testsuite/analyze-racy-logs.py
gdb/testsuite/gdb.ada/pp-rec-component.py
gdb/testsuite/gdb.perf/backtrace.py
gdb/testsuite/gdb.perf/disassemble.py
gdb/testsuite/gdb.perf/gmonster-null-lookup.py
gdb/testsuite/gdb.perf/gmonster-pervasive-typedef.py
gdb/testsuite/gdb.perf/gmonster-print-cerr.py
gdb/testsuite/gdb.perf/gmonster-ptype-string.py
gdb/testsuite/gdb.perf/gmonster-runto-main.py
gdb/testsuite/gdb.perf/gmonster-select-file.py
gdb/testsuite/gdb.perf/lib/perftest/measure.py
gdb/testsuite/gdb.perf/lib/perftest/perftest.py
gdb/testsuite/gdb.perf/lib/perftest/reporter.py
gdb/testsuite/gdb.perf/lib/perftest/testresult.py
gdb/testsuite/gdb.perf/lib/perftest/utils.py
gdb/testsuite/gdb.perf/single-step.py
gdb/testsuite/gdb.perf/skip-command.py
gdb/testsuite/gdb.perf/skip-prologue.py
gdb/testsuite/gdb.perf/solib.py
gdb/testsuite/gdb.perf/template-breakpoints.py
gdb/testsuite/gdb.python/py-auto-load-chaining-f1.o-gdb.py
gdb/testsuite/gdb.python/py-auto-load-chaining-f2.o-gdb.py
gdb/testsuite/gdb.python/py-bad-printers.py
gdb/testsuite/gdb.python/py-breakpoint-create-fail.py
gdb/testsuite/gdb.python/py-completion.py
gdb/testsuite/gdb.python/py-error.py
gdb/testsuite/gdb.python/py-events.py
gdb/testsuite/gdb.python/py-finish-breakpoint.py
gdb/testsuite/gdb.python/py-finish-breakpoint2.py
gdb/testsuite/gdb.python/py-format-string.py
gdb/testsuite/gdb.python/py-frame-args.py
gdb/testsuite/gdb.python/py-framefilter-addr.py
gdb/testsuite/gdb.python/py-framefilter-invalidarg.py
gdb/testsuite/gdb.python/py-framefilter.py
gdb/testsuite/gdb.python/py-mi-events-gdb.py
gdb/testsuite/gdb.python/py-mi-var-info-path-expression.py
gdb/testsuite/gdb.python/py-nested-maps.py
gdb/testsuite/gdb.python/py-objfile-script-gdb.py
gdb/testsuite/gdb.python/py-pp-integral.py
gdb/testsuite/gdb.python/py-pp-maint.py
gdb/testsuite/gdb.python/py-pp-re-notag.py
gdb/testsuite/gdb.python/py-pp-registration.py
gdb/testsuite/gdb.python/py-prettyprint.py
gdb/testsuite/gdb.python/py-recurse-unwind.py
gdb/testsuite/gdb.python/py-section-script.py
gdb/testsuite/gdb.python/py-typeprint.py
gdb/testsuite/gdb.python/py-unwind-inline.py
gdb/testsuite/gdb.python/py-unwind-maint.py
gdb/testsuite/gdb.python/py-unwind.py
gdb/testsuite/gdb.python/py-xmethods.py
gdb/testsuite/gdb.python/source2.py
gdb/testsuite/gdb.python/tui-window-disabled.py
gdb/testsuite/gdb.python/tui-window.py
gdb/testsuite/print-ts.py