[Webkit-unassigned] [Bug 215156] Make report-non-inclusive-language ignore files within .svn and .git

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 5 13:09:58 PDT 2020


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

--- Comment #7 from Darin Adler <darin at apple.com> ---
Comment on attachment 406029
  --> https://bugs.webkit.org/attachment.cgi?id=406029
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=406029&action=review

> Tools/Scripts/report-non-inclusive-language:58
> +    directories = [directory for directory in directories if not directory.startswith(".svn")]

Leave this out since it's not working yet

> Tools/Scripts/report-non-inclusive-language:63
> +    if prefix.find(".svn") >= 0:
> +        continue
> +    if prefix.find(".git") >= 0:
> +        continue

Use this style:

    if ".svn" in prefix:

-- 
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/20200805/981bcea0/attachment-0001.htm>


More information about the webkit-unassigned mailing list