MCPcopy Index your code
hub / github.com/pre-commit/pre-commit / check

Method check

pre_commit/clientlib.py:223–227  ·  view source on GitHub ↗
(self, dct: dict[str, Any])

Source from the content-addressed store, hash-verified

221
222class LanguageMigrationRequired(LanguageMigration): # replace with Required
223 def check(self, dct: dict[str, Any]) -> None:
224 if self.key not in dct:
225 raise cfgv.ValidationError(f'Missing required key: {self.key}')
226
227 super().check(dct)
228
229
230MANIFEST_HOOK_DICT = cfgv.Map(

Callers

nothing calls this directly

Calls 1

checkMethod · 0.45

Tested by

no test coverage detected