diff options
| author | Jonas Devlieghere <jonas@devlieghere.com> | 2023-05-25 08:48:57 -0700 |
|---|---|---|
| committer | Jonas Devlieghere <jonas@devlieghere.com> | 2023-05-25 12:54:09 -0700 |
| commit | 2238dcc39358353cac21df75c3c3286ab20b8f53 (patch) | |
| tree | 1bb7ec8d7405ccd7fdb5a8a78d0cf5ef40bcc963 /lldb/test/API/functionalities/postmortem/FreeBSDKernel/tools | |
| parent | daeee56798c51e8f007e8e8e6e677a420b14c9ef (diff) | |
[NFC][Py Reformat] Reformat python files in lldb
This is an ongoing series of commits that are reformatting our Python
code. Reformatting is done with `black` (23.1.0).
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.
RFC: https://discourse.llvm.org/t/rfc-document-and-standardize-python-code-style
Differential revision: https://reviews.llvm.org/D151460
Diffstat (limited to 'lldb/test/API/functionalities/postmortem/FreeBSDKernel/tools')
| -rw-r--r-- | lldb/test/API/functionalities/postmortem/FreeBSDKernel/tools/copy-sparse.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lldb/test/API/functionalities/postmortem/FreeBSDKernel/tools/copy-sparse.py b/lldb/test/API/functionalities/postmortem/FreeBSDKernel/tools/copy-sparse.py index f915277fa621..69da526b4f80 100644 --- a/lldb/test/API/functionalities/postmortem/FreeBSDKernel/tools/copy-sparse.py +++ b/lldb/test/API/functionalities/postmortem/FreeBSDKernel/tools/copy-sparse.py @@ -7,10 +7,10 @@ import sys def main(): argp = argparse.ArgumentParser() - argp.add_argument('infile', type=argparse.FileType('rb'), - help='Input vmcore file') - argp.add_argument('outfile', type=argparse.FileType('wb'), - help='Output vmcore file') + argp.add_argument("infile", type=argparse.FileType("rb"), help="Input vmcore file") + argp.add_argument( + "outfile", type=argparse.FileType("wb"), help="Output vmcore file" + ) args = argp.parse_args() inf = args.infile |
