Skip to content

multiple-spaces-before-keyword (E272)#

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 before keywords.

Why is this bad?#

Example#

True  and False

Use instead:

True and False