Enforce empty lines before classes/functions with sticky leading comments. by yilei · Pull Request #3302 · psf/black (original) (raw)

JelleZijlstra

@yilei

@yilei

@yilei

@yilei

@yilei

@yilei

@yilei

…ment but after decorators.

@yilei

@yilei

@yilei @JelleZijlstra

Co-authored-by: Jelle Zijlstra jelle.zijlstra@gmail.com

felix-hilden

@yilei

@yilei

@yilei

@yilei yilei mentioned this pull request

Oct 10, 2022

@yilei

felix-hilden

JelleZijlstra

@yilei yilei mentioned this pull request

Dec 20, 2022

3 tasks

openstack-mirroring pushed a commit to openstack/openstack that referenced this pull request

Jan 4, 2023

@dalees @openstack-gerrit

stanislavlevin added a commit to stanislavlevin/pyproject_installer that referenced this pull request

Feb 1, 2023

@stanislavlevin

See psf/black#3302 for details. Fixes: #37

Signed-off-by: Stanislav Levin slev@altlinux.org

stanislavlevin added a commit to stanislavlevin/pyproject_installer that referenced this pull request

Feb 1, 2023

@stanislavlevin

See psf/black#3302 for details.

Fixes: #37 Signed-off-by: Stanislav Levin slev@altlinux.org

stanislavlevin added a commit to stanislavlevin/pyproject_installer that referenced this pull request

Feb 2, 2023

@stanislavlevin

See psf/black#3302 for details.

Fixes: #37 Signed-off-by: Stanislav Levin slev@altlinux.org

jcristau added a commit to jcristau/scriptworker-scripts that referenced this pull request

Feb 16, 2023

@jcristau

Once upon a time black and pydocstyle disagreed on blank lines before nested functions, and a comment would appease them both. Since then, the latter has been changed to not complain about a blank line (PyCQA/pydocstyle#426), and the former now complains about the missing blank line even with the comment (psf/black#3302).

jcristau added a commit to jcristau/scriptworker-scripts that referenced this pull request

Feb 17, 2023

@jcristau

Once upon a time black and pydocstyle disagreed on blank lines before nested functions, and a comment would appease them both. Since then, the latter has been changed to not complain about a blank line (PyCQA/pydocstyle#426), and the former now complains about the missing blank line even with the comment (psf/black#3302).

jcristau added a commit to jcristau/scriptworker-scripts that referenced this pull request

Feb 20, 2023

@jcristau

Once upon a time black and pydocstyle disagreed on blank lines before nested functions, and a comment would appease them both. Since then, the latter has been changed to not complain about a blank line (PyCQA/pydocstyle#426), and the former now complains about the missing blank line even with the comment (psf/black#3302).

jcristau added a commit to jcristau/scriptworker-scripts that referenced this pull request

Mar 6, 2023

@jcristau

Once upon a time black and pydocstyle disagreed on blank lines before nested functions, and a comment would appease them both. Since then, the latter has been changed to not complain about a blank line (PyCQA/pydocstyle#426), and the former now complains about the missing blank line even with the comment (psf/black#3302).

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})