stylist.issue#
Issues found in the source.
Classes
|
Holds details pertaining to an issue with the source. |
- class stylist.issue.Issue(description, line=None, filename=None)#
Bases:
object
Holds details pertaining to an issue with the source.
- Parameters:
description (
str
) – Free-format string describing the issue.line (
Optional
[int
]) – Line number where issue found.filename (
Optional
[Path
]) – File in which issue found.
- property description: str#
Description of this issue.
- property filename: Path | None#
Filename associated with this issue.
- property line: int | None#
Line number associated with this issue.
- set_filename(filename)#
Associates a filename with this issue.
- Return type:
None