Skip to content

multiple-spaces-after-keyword (E271)#

Derived from the pycodestyle linter.

Fix is always available.

This rule is unstable and in preview. The --preview flag is required for use.

What it does#

Checks for extraneous whitespace after keywords.

Why is this bad?#

Example#

True and  False

Use instead:

True and False