stylist.style
Classes relating to styles made up of rules.
Classes
|
Abstract parent of all style lists. |
- class stylist.style.Style(*rules)
Bases:
ABC
Abstract parent of all style lists.
- Parameters:
rules (
Rule
) – Rules which make up this style.
- check(source)
Applies every rule in this style to a source code.
- Parameters:
source (
SourceTree
) – Source code to inspect.- Return type:
List
[Issue
]- Returns:
All issues found in the source.