[webkit-changes] [WebKit/WebKit] afa81e: [pre-push] Make version regex more permissive

Jonathan Bedard noreply at github.com
Fri Feb 16 12:57:32 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: afa81e7deccf5a4b1c0c0717e489fc9c0da50991
      https://github.com/WebKit/WebKit/commit/afa81e7deccf5a4b1c0c0717e489fc9c0da50991
  Author: Jonathan Bedard <jbedard at apple.com>
  Date:   2024-02-16 (Fri, 16 Feb 2024)

  Changed paths:
    M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/install_hooks.py
    M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/install_hooks_unittest.py

  Log Message:
  -----------
  [pre-push] Make version regex more permissive
https://bugs.webkit.org/show_bug.cgi?id=269599
rdar://123106227

Reviewed by Dewei Zhu.

There exist versions of the pre-push hook which relies on linters to format
Python code slightly different than WebKit's current style. Our version regex
should be permissive enough to read such files.

* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/install_hooks.py:
(InstallHooks): Make version regex more permissive.
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/install_hooks_unittest.py:
(TestInstallHooks.test_version_re):

Canonical link: https://commits.webkit.org/274872@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list