syntax-error / E0001#
Message emitted:
%s
Description:
Used when a syntax error is raised for a module.
Problematic code:
fruit_stock = {
'apple': 42,
'orange': 21 # [syntax-error]
'banana': 12
}
Correct code:
fruit_stock = {"apple": 42, "orange": 21, "banana": 12}
Created by the main checker.