.. _syntax-error: syntax-error / E0001 ==================== **Message emitted:** ``%s`` **Description:** *Used when a syntax error is raised for a module.* **Problematic code:** .. literalinclude:: /data/messages/s/syntax-error/bad.py :language: python **Correct code:** .. literalinclude:: /data/messages/s/syntax-error/good.py :language: python **Additional details:** The python's ast builtin module cannot parse your code if there's a syntax error, so if there's a syntax error other messages won't be available at all. **Related links:** - `Why can't pylint recover from a syntax error ? `_ Created by the `main `__ checker.