docs/guides/lint_rules/rules/parse_stderr.md
✨ Formatting ❌ Not Fixable
MF003: Parse captured stderr during notebook loading.
Captures stderr output during notebook loading and creates diagnostics from any error messages or warnings. This helps identify potential issues that don't prevent parsing but may affect runtime behavior.
Stderr output during parsing often indicates:
While these don't break the notebook, they can lead to unexpected behavior or indicate code that needs updating.
Captured stderr:
notebook.py:68: SyntaxWarning: invalid escape sequence '\l'
Result: Creates a diagnostic pointing to line 68 about the invalid escape sequence.
Common issues:
r"\path\to\file" instead of "\path\to\file"