(options: t.Mapping[str, str], key: str, default: bool = False)
| 811 | extensions[InternationalizationExtension] = None |
| 812 | |
| 813 | def getbool(options: t.Mapping[str, str], key: str, default: bool = False) -> bool: |
| 814 | return options.get(key, str(default)).lower() in {"1", "on", "yes", "true"} |
| 815 | |
| 816 | silent = getbool(options, "silent", True) |
| 817 | environment = Environment( |
no test coverage detected