checks.build.BuildCheck

checks.build.BuildCheck()

Check that the package can be built into a wheel.

Methods

Name Description
run Attempt to build the package.

run

checks.build.BuildCheck.run(package_path, config)

Attempt to build the package.

Supports args (list[str]) for additional build arguments and timeout (seconds) to override the default. A package that does not build is an ERROR. A build that could not run is a WARNING. The check is SKIPPED when the build module is not installed, and when pyproject.toml could not be read or the project has none of the files a build starts from, both of which the metadata check reports.