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/packages/Python/lldbsuite/test/configuration.py | |
parent | daeee56798c51e8f007e8e8e6e677a420b14c9ef (diff) | |
download | llvm-2238dcc39358353cac21df75c3c3286ab20b8f53.zip llvm-2238dcc39358353cac21df75c3c3286ab20b8f53.tar.gz llvm-2238dcc39358353cac21df75c3c3286ab20b8f53.tar.bz2 |
[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/packages/Python/lldbsuite/test/configuration.py')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/configuration.py | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/configuration.py b/lldb/packages/Python/lldbsuite/test/configuration.py index 266d785..0085117 100644 --- a/lldb/packages/Python/lldbsuite/test/configuration.py +++ b/lldb/packages/Python/lldbsuite/test/configuration.py @@ -62,7 +62,7 @@ yaml2obj = None # The arch might dictate some specific CFLAGS to be passed to the toolchain to build # the inferior programs. The global variable cflags_extras provides a hook to do # just that. -cflags_extras = '' +cflags_extras = "" # The filters (testclass.testmethod) used to admit tests into our test suite. filters = [] @@ -78,7 +78,7 @@ xfail_tests = None # Set this flag if there is any session info dumped during the test run. sdir_has_content = False # svn_info stores the output from 'svn info lldb.base.dir'. -svn_info = '' +svn_info = "" # Default verbosity is 0. verbose = 0 @@ -93,7 +93,7 @@ testdirs = [lldbsuite.lldb_test_root] test_src_root = lldbsuite.lldb_test_root # Separator string. -separator = '-' * 70 +separator = "-" * 70 failed = False @@ -133,8 +133,10 @@ enabled_plugins = [] def shouldSkipBecauseOfCategories(test_categories): if use_categories: - if len(test_categories) == 0 or len( - categories_list & set(test_categories)) == 0: + if ( + len(test_categories) == 0 + or len(categories_list & set(test_categories)) == 0 + ): return True for category in skip_categories: @@ -151,6 +153,7 @@ def get_filecheck_path(): if filecheck and os.path.lexists(filecheck): return filecheck + def get_yaml2obj_path(): """ Get the path to the yaml2obj tool. |