@@ -290,7 +290,7 @@ def test_pc901():
290290def test_pc901_not_needed ():
291291 dependabot = yaml .safe_load ("""
292292 updates:
293- - package-ecosystem: "github-actions "
293+ - package-ecosystem: "pre-commit "
294294 """ )
295295 assert compute_check ("PC901" , precommit = {}, dependabot = dependabot ).result is None
296296
@@ -324,7 +324,7 @@ def test_pc902_no_msg():
324324def test_pc902_not_needed ():
325325 dependabot = yaml .safe_load ("""
326326 updates:
327- - package-ecosystem: "github-actions "
327+ - package-ecosystem: "pre-commit "
328328 """ )
329329 assert compute_check ("PC902" , precommit = {}, dependabot = dependabot ).result is None
330330
@@ -350,13 +350,13 @@ def test_pc903_no_msg():
350350def test_pc903_not_needed ():
351351 dependabot = yaml .safe_load ("""
352352 updates:
353- - package-ecosystem: "github-actions "
353+ - package-ecosystem: "pre-commit "
354354 """ )
355355 assert compute_check ("PC903" , precommit = {}, dependabot = dependabot ).result is None
356356
357357
358358def test_repo_review_checks_skips_with_lefthook_only (tmp_path : Path ) -> None :
359- """PreCommit checks should be omitted if only lefthook.yml is present.
359+ """Precommit checks should be omitted if only lefthook.yml is present.
360360
361361 When a repository uses `lefthook.yml` and does not have a
362362 `.pre-commit-config.yaml`, `repo_review_checks` should return an empty
0 commit comments