Skip to content

Conversation

@SigureMo
Copy link
Member

@SigureMo SigureMo commented Jun 10, 2023

PR types

Others

PR changes

Others

Description

升级 black 到 23.3.0,即 2023 stable style(同一年的 style 是稳定的,只做 bug fix),详细 2023 release note 见 https://github.com/psf/black/releases/tag/23.1.0

虽然改动文件数比较多,但是改动行数很少,而且都是合理的:

  • 移除函数定义后、代码块后无用的空行,如:
      def foo():
    -                   
          ...
  • 移除 unpack 时无用的括号,如:
    - for (a, b) in c:
    + for a, b in c:

PCard-66962

@paddle-bot
Copy link

paddle-bot bot commented Jun 10, 2023

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@luotao1 luotao1 merged commit 44e0393 into PaddlePaddle:develop Jun 12, 2023
@SigureMo SigureMo deleted the black/23-3-0 branch June 12, 2023 02:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants