MCPcopy
hub / github.com/saltstack/salt / check

Function check

tools/precommit/docs.py:453–465  ·  view source on GitHub ↗
(ctx: Context, files: list[pathlib.Path])

Source from the content-addressed store, hash-verified

451 },
452)
453def check(ctx: Context, files: list[pathlib.Path]) -> None:
454 exitcode = 0
455 ctx.info("Checking inline :doc: markup")
456 exitcode += check_inline_markup(ctx, files)
457 ctx.info("Checking python module stubs")
458 exitcode += check_stubs(ctx, files)
459 ctx.info("Checking virtual modules")
460 exitcode += check_virtual(ctx, files)
461 ctx.info("Checking stray docs")
462 exitcode += check_stray(ctx, files)
463 ctx.info("Checking doc module indexes")
464 exitcode += check_module_indexes(ctx, files)
465 ctx.exit(exitcode)

Callers

nothing calls this directly

Calls 7

check_inline_markupFunction · 0.85
check_stubsFunction · 0.85
check_strayFunction · 0.85
check_module_indexesFunction · 0.85
exitMethod · 0.80
check_virtualFunction · 0.70
infoMethod · 0.45

Tested by

no test coverage detected