stylist.rule
None language specific rules.
Classes
|
Abstract parent of all rules. |
Examines the text for white space at the end of lines. |
- class stylist.rule.Rule
Bases:
object
Abstract parent of all rules.
- class stylist.rule.TrailingWhitespace
Bases:
Rule
Examines the text for white space at the end of lines. This includes lines which consist entirely of white space.
- examine(subject)
Examines the provided source code object for issues.
- Parameters
subject (
SourceText
) – The source file to be examined.- Return type
List
[Issue
]- Returns
All issues found with the source.