]> git.ipfire.org Git - thirdparty/git.git/commit - git-p4.py
git-p4: add blank lines between functions and class definitions
authorJoel Holdsworth <jholdsworth@nvidia.com>
Fri, 1 Apr 2022 14:24:43 +0000 (15:24 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 1 Apr 2022 20:15:43 +0000 (13:15 -0700)
commitadf159b44183537538e78c2e69997f9f605b92d4
tree5b4a710055aad19fbffa6c629a7ee1c006d78308
parent2b9c1209706bc2ef0ab09fb0bdc7d405e225ce8b
git-p4: add blank lines between functions and class definitions

In the PEP8 style guidelines, top-level functions and class definitions
should be separated by two blank lines. Methods should be surrounded by
a single blank line.

This guideline is described here in the "Blank Lines" section:
https://www.python.org/dev/peps/pep-0008/#blank-lines

Signed-off-by: Joel Holdsworth <jholdsworth@nvidia.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-p4.py