Set to quiet based on MZ_QUIET being set to almost any value The only values that this gets set to false for are the empty string, 0, or no
(cls, explicit: bool | None)
| 29 | |
| 30 | @classmethod |
| 31 | def init_from_env(cls, explicit: bool | None) -> None: |
| 32 | """Set to quiet based on MZ_QUIET being set to almost any value |
| 33 | |
| 34 | The only values that this gets set to false for are the empty string, 0, or no |
| 35 | """ |
| 36 | cls.quiet = env_is_truthy("MZ_QUIET") |
| 37 | if explicit is not None: |
| 38 | cls.quiet = explicit |
| 39 | |
| 40 | |
| 41 | def speaker(prefix: str) -> Callable[..., None]: |
no test coverage detected