google / google/yapf

Block comments should have a space after # in pep8 style mode

Open
#139 4 comments 14 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
14k
Forks
904
PR merge metrics
No merged PRs in 30d

Description

https://www.python.org/dev/peps/pep-0008/#block-comments - the pep8 checker throws E265 on a test file that only contains `#This is a comment`

Expected behaviour would be to insert a space character after the # character, producing `# This is a comment\n`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.