[Webkit-unassigned] [Bug 283141] New: Make the pre-push template syntactically valid Python

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 14 15:23:24 PST 2024


https://bugs.webkit.org/show_bug.cgi?id=283141

            Bug ID: 283141
           Summary: Make the pre-push template syntactically valid Python
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: gsnedders at apple.com

This is the only one of the hook templates that is itself syntactically invalid Python:

  File "Tools/Scripts/hooks/pre-push", line 50
    SECURITY_LEVELS = { {% for key, value in security_levels.items() %}
                         ^
SyntaxError: invalid syntax

We should make the relatively small changes to make it syntactically valid so we can use normal Python linting and tooling when working with it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20241114/c393a5a1/attachment.htm>


More information about the webkit-unassigned mailing list