comicbox.doctor.result ¶
What a doctor check reports: one row per thing checked.
CheckResult dataclass ¶
One row of the report.
found is what was found: a version, a tool, or a path. A Path renders as a path. fix is a one-line hint for anything not OK. None of these ever carry a secret value.
Source code in comicbox/doctor/result.py
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | |
DoctorReport dataclass ¶
Every row the checks produced, plus the host they ran on.
Source code in comicbox/doctor/result.py
53 54 55 56 57 58 59 60 61 62 63 64 | |
exit_code property ¶
1 if anything comicbox needs is broken, else 0.
Status ¶
Bases: StrEnum
How one dependency or setting checked out.
Source code in comicbox/doctor/result.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | |
is_failure property ¶
Whether this status means something comicbox needs is broken.
short_path(path) ¶
Abbreviate the home directory to ~ for display.
Source code in comicbox/doctor/result.py
67 68 69 70 71 72 73 | |