mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-01-14 13:00:10 -06:00
Merge pull request #2527 from chrisRedwine/remove-extraneous-raw-string-literal
remove extraneous raw string literal in test
This commit is contained in:
@@ -321,7 +321,7 @@ def test_validate_optional_sensible_regex_at_hook(caplog, regex, warning):
|
||||
|
||||
def test_validate_optional_sensible_regex_at_local_hook(caplog):
|
||||
config_obj = sample_local_config()
|
||||
config_obj['hooks'][0]['files'] = r'dir/*.py'
|
||||
config_obj['hooks'][0]['files'] = 'dir/*.py'
|
||||
|
||||
cfgv.validate(config_obj, CONFIG_REPO_DICT)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user