Write a rule
A typical rule check will look like:
|
|
They return a Result
object, which contains a possibly empty list of Error
objects. Error
objects are formed of a line number and a message. If the error applies to the whole file being reviewed, set the line number to None
.