Skip to main content

review.gate.Failed

review.gate.Failed(problems)

Content was checked and fails: the exit code is 1.

Attributes

Name Type Description
problems list[str] One line per problem, {path}: {message}.

Examples

from babregen.review.gate import Failed

print(Failed(["gate.toml: x"]).problems)
['gate.toml: x']