google / google/yapf

Knob for number of blank lines around top-level functions and class definitions

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

Description

I think it would be handy to be able to control the number of empty line that are added around top-level functions and class definitions, maybe named `blank_lines` with a default value of `2`.

PEP8 reference: https://www.python.org/dev/peps/pep-0008/#blank-lines.

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.