-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreport.py
More file actions
27 lines (21 loc) · 850 Bytes
/
report.py
File metadata and controls
27 lines (21 loc) · 850 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
"""This module contains the class for storing reports to be written to disk
Classes:
Report
"""
class Report:
"""This class stores a singular report as generated by a tes
Attributes:
announcements: list[str] = [] | Stores announcments, which
are displayed before everything else
errors: list[str] = [] | Stores errors, problems which will prevent proper function
warnings: list[str] = [] | Stores warnings, issues which may lead to undesireable behavior
infos: list[str] = [] | Stores infos, remarks which
could have been overlooked but will not impede function
Methods:
None
"""
def __init__(self):
self.announcements = []
self.errors = []
self.warnings = []
self.infos = []