<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>274407</bug_id>
          
          <creation_ts>2024-05-20 11:37:01 -0700</creation_ts>
          <short_desc>check-webkit-style failing for Python changes in WPT</short_desc>
          <delta_ts>2024-09-30 13:51:21 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=246825</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sam Sneddon [:gsnedders]">gsnedders</reporter>
          <assigned_to name="Fujii Hironori">fujii</assigned_to>
          <cc>fujii</cc>
    
    <cc>jbedard</cc>
    
    <cc>karlcow</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2036462</commentid>
    <comment_count>0</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2024-05-20 11:37:01 -0700</bug_when>
    <thetext>Karl hit the following:

```
% git webkit pr            
From github.com:WebKit/WebKit
 * branch                      main       -&gt; FETCH_HEAD
Current branch 274304-wpt-html-canvas is up to date.
ERROR: Unexpected diff format when parsing a chunk: &apos;100&quot; height=&quot;&amp;#xD;&apos;
ERROR: Unexpected diff format when parsing a chunk: &apos;100&quot;&gt;&lt;p class=&quot;fallback&quot;&gt;FAIL (fallback content)&lt;/p&gt;&lt;/canvas&gt;&apos;
ERROR: LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/gentestutilsunion.py:386:  too many blank lines (2)  [pep8/E303] [5]
ERROR: LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/gentestutilsunion.py:484:  continuation line with same indent as next logical line  [pep8/E125] [5]
ERROR: LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/gentestutilsunion.py:580:  continuation line over-indented for hanging indent  [pep8/E126] [5]
Total errors found: 3 in 1020 files
style-checker failed, continue uploading pull request?
Retry will amend the commit with your changes. (Yes/Retry/[No]): 
```

This is surprising given on the face of it we should be ignoring all of LayoutTests, per https://github.com/WebKit/WebKit/blob/87181326e4b98e672a0cb51872cb55f7f0dd0ae3/Tools/Scripts/webkitpy/style/checker.py#L478</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2036463</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-05-20 11:37:12 -0700</bug_when>
    <thetext>&lt;rdar://problem/128408640&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2036538</commentid>
    <comment_count>2</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2024-05-20 16:15:44 -0700</bug_when>
    <thetext>I wonder if it matches an exception.

https://github.com/WebKit/WebKit/blob/87181326e4b98e672a0cb51872cb55f7f0dd0ae3/Tools/Scripts/webkitpy/style/checker.py#L717-L733
https://github.com/WebKit/WebKit/blob/b1a07690232ffd27093173e2fd66cf65aa0ed777/Tools/Scripts/webkitpy/style/checker.py#L423


The filepath is 
LayoutTests/imported/w3c/web-platform-tests/html/canvas/tools/gentestutilsunion.py

Some logging to do. :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2064114</commentid>
    <comment_count>3</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2024-09-29 12:52:57 -0700</bug_when>
    <thetext>*** Bug 280504 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2064115</commentid>
    <comment_count>4</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2024-09-29 12:57:37 -0700</bug_when>
    <thetext>https://github.com/WebKit/WebKit/blob/1e0f90c0a4748d952997071013e3836e5306dd1d/Tools/Scripts/webkitpy/style/checker.py#L462

&gt;    re.compile(&apos;(?!WebDriverTests).{0,14}.*.py$&apos;),

This regexp in _NEVER_SKIPPED_FILES matches .py files under LayoutTests directory.
This was aded by Bug 246825.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2064118</commentid>
    <comment_count>5</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2024-09-29 13:25:52 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/34427</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2064323</commentid>
    <comment_count>6</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-09-30 13:51:19 -0700</bug_when>
    <thetext>Committed 284464@main (1b97d0c6ae2e): &lt;https://commits.webkit.org/284464@main&gt;

Reviewed commits have been landed. Closing PR #34427 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>