mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Avoid warnings with R hooks when renv version don't match
This commit is contained in:
parent
c753eeb6ec
commit
b8fff8c508
7 changed files with 919 additions and 18 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue