mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
commit
72f98d26e6
1 changed files with 2 additions and 2 deletions
|
|
@ -67,8 +67,8 @@ xfailif_broken_deep_listdir = pytest.mark.xfail(
|
|||
|
||||
|
||||
def platform_supports_pcre():
|
||||
output = cmd_output(GREP, '-P', "name='pre", 'setup.py', retcode=None)
|
||||
return output[0] == 0 and "name='pre_commit'," in output[1]
|
||||
output = cmd_output(GREP, '-P', "Don't", 'CHANGELOG.md', retcode=None)
|
||||
return output[0] == 0 and "Don't use readlink -f" in output[1]
|
||||
|
||||
|
||||
xfailif_no_pcre_support = pytest.mark.xfail(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue