no-space-after-block-comment (E265)#
Derived from the pycodestyle linter.
This rule is unstable and in preview. The --preview
flag is required for use.
What it does#
Checks if one space is used after block comments.
Why is this bad?#
Per PEP8, "Block comments generally consist of one or more paragraphs built out of complete sentences, with each sentence ending in a period."
Block comments should start with a # and a single space.
Example#
Use instead: