Skip to content

syntax-error (E999)

Derived from the pycodestyle linter.

Warning: This rule is deprecated and will be removed in a future release.

Deprecated

This rule has been deprecated and will be removed in a future release. 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