()
| 1273 | if raw: |
| 1274 | try: |
| 1275 | return datetime.strptime(raw, "%Y-%m-%d").date().isoformat() |
| 1276 | except ValueError: |
| 1277 | pass |
| 1278 | return datetime.now().date().isoformat() |
| 1279 | |
| 1280 | |
| 1281 | def _configured_report_style() -> str: |
| 1282 | style = (_env_text("PAPERFLOW_REPORT_STYLE", "standard") or "standard").strip().lower() |
| 1283 | return style if style in {"standard", "deep", "brief"} else "standard" |
no test coverage detected