Enforce empty lines before classes/functions with sticky leading comments. by yilei · Pull Request #3302 · psf/black (original) (raw)
…ment but after decorators.
Co-authored-by: Jelle Zijlstra jelle.zijlstra@gmail.com
yilei mentioned this pull request
yilei mentioned this pull request
3 tasks
openstack-mirroring pushed a commit to openstack/openstack that referenced this pull request
- Update adjutant from branch 'master'
to 6b1856b4eb43f56010988fd464d3077de5c765fd
Support tox4, update style to match Black 23.1a1
This aligns code with psf/black#3302
Depends-On: https://review.opendev.org/866943 Change-Id: Icfbca2fab8adeb677b980d01f797f194f580838e
stanislavlevin added a commit to stanislavlevin/pyproject_installer that referenced this pull request
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
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
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
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
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
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
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 }})