MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / set_style

Method set_style

src/ifctester/ifctester/reporter.py:217–219  ·  view source on GitHub ↗
(self, *colours: str)

Source from the content-addressed store, hash-verified

215 self.set_style("reset")
216
217 def set_style(self, *colours: str):
218 if self.use_colour:
219 sys.stdout.write("".join([self.colours[c] for c in colours]))
220
221 def print(self, txt: str, end: Optional[str] = None):
222 if end is not None:

Callers 3

reportMethod · 0.95
report_specificationMethod · 0.95
report_reasonMethod · 0.95

Calls 2

writeMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected