CheckStatus

CheckStatus()

Status of a check result.

Each check returns one of these statuses to indicate whether the check passed, failed, or encountered issues.

Attributes

OK :

Check passed successfully.

NOTE :

Something the author of the checked package can improve.

WARNING :

Potential issue that should be reviewed.

ERROR :

Check failed.

SKIPPED :

The check did not look at anything, for example because the tool it needs is not installed. The result’s skip_reason says why.

Examples

>>> status = CheckStatus.OK
>>> status.symbol
'✓'
>>> status.color
'green'
>>> str(status)
'ok'