[Webkit-unassigned] [Bug 214531] New: pep8.py:110: FutureWarning: Possible nested set at position 1

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jul 19 05:25:13 PDT 2020


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

            Bug ID: 214531
           Summary: pep8.py:110: FutureWarning: Possible nested set at
                    position 1
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mcatanzaro at gnome.org

Let's try to fix this python warning that occurs when running webkit-patch:

$ webkit-patch upload
/home/mcatanzaro/Projects/WebKit/Tools/Scripts/webkitpy/thirdparty/autoinstalled/pep8.py:110: FutureWarning: Possible nested set at position 1
  EXTRANEOUS_WHITESPACE_REGEX = re.compile(r'[[({] | []}),;:]')

Since we don't control the code, we should update to a newer version of pep8. It has been renamed to pycodestyle.

I've tested this patch with python3. I think it should work with python2. Let's see if EWS likes 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/20200719/0f2ccde0/attachment.htm>


More information about the webkit-unassigned mailing list