Runs rules against change sets and collects the outcomes.
Summary
Functions
Runs every rule against the change set.
Runs every rule against each non-merge commit in range (any git rev-list
range, oldest first).
Functions
@spec run(Presubmit.Commit.t(), [Presubmit.Rule.t()], keyword()) :: Presubmit.Runner.Report.t()
Runs every rule against the change set.
Rules run in a worker process, so a rule that does not finish within opts[:timeout] milliseconds
(default 30 seconds) is stopped and reported as an
Presubmit.RuleTimeoutError; the remaining rules run in a fresh worker.
@spec run_range(Path.t(), String.t(), [Presubmit.Rule.t()], keyword()) :: [ Presubmit.Runner.Report.t() ]
Runs every rule against each non-merge commit in range (any git rev-list
range, oldest first).