[llvm] update_test_checks: keep meta variables stable by default (PR #76748)

via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 2 12:04:01 PST 2024


Nicolai =?utf-8?q?Hähnle?= <nicolai.haehnle at amd.com>,
Nicolai =?utf-8?q?Hähnle?= <nicolai.haehnle at amd.com>,
Nicolai =?utf-8?q?Hähnle?= <nicolai.haehnle at amd.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/76748 at github.com>


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {darker}-->


:warning: Python code formatter, darker found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
darker --check --diff -r dc5fb32547627223967f11fa08886045bba804f5...3e8a784b24aeda372e5900922886ac4eb34f1eb0 llvm/utils/UpdateTestChecks/common.py llvm/utils/update_test_checks.py
``````````

</details>

<details>
<summary>
View the diff from darker here.
</summary>

``````````diff
--- UpdateTestChecks/common.py	2024-01-02 18:38:24.000000 +0000
+++ UpdateTestChecks/common.py	2024-01-02 20:03:52.027053 +0000
@@ -446,10 +446,11 @@
                 # When filtering on a specific function, skip all others.
                 continue
 
             in_function_start = original_check_lines[func_name] = {}
 
+
 # Perform lit-like substitutions
 def getSubstitutions(sourcepath):
     sourcedir = os.path.dirname(sourcepath)
     return [
         ("%s", sourcepath),

``````````

</details>


https://github.com/llvm/llvm-project/pull/76748


More information about the llvm-commits mailing list