Skip to content

syntax-error (E999)

Derived from the pycodestyle linter.

Warning: This rule has been removed and its documentation is only available for historical reasons.

Removed

This rule has been removed. Syntax errors will always be shown regardless of whether this rule is selected or not.

What it does

Checks for code that contains syntax errors.

Why is this bad?

Code with syntax errors cannot be executed. Such errors are likely a mistake.

Example

x =

Use instead:

x = 1

References