Avoid warnings with R hooks when renv version don't match

This commit is contained in:
Lorenz 2021-03-09 09:28:47 +01:00 committed by Anthony Sottile
parent c753eeb6ec
commit b8fff8c508
7 changed files with 919 additions and 18 deletions

View file

@ -186,7 +186,7 @@ def test_local_resources_reflects_reality():
for res in os.listdir('pre_commit/resources')
if res.startswith('empty_template_')
}
assert on_disk == set(Store.LOCAL_RESOURCES)
assert on_disk == {os.path.basename(x) for x in Store.LOCAL_RESOURCES}
def test_mark_config_as_used(store, tmpdir):