nvflare.tool.package_checker.package_checker module

class PackageChecker[source]

Bases: ABC

add_report(check_name, problem_text: str, fix_text: str)[source]
check() int[source]

Checks if the package is runnable on the current system.

check_dry_run(timeout: int) int[source]
abstract get_dry_run_command() str[source]
init(package_path: str)[source]
abstract init_rules(package_path: str)[source]
print_report()[source]
abstract should_be_checked() bool[source]

Check if this package should be checked by this checker.

stop_dry_run(force: bool = True)[source]