Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cherry-pick 274872@main (afa81e7). rdar://123106227
[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 Canonical link: https://commits.webkit.org/272448.575@safari-7618-branch
- Loading branch information