未验证 提交 6454133f 编写于 作者: N Nyakku Shigure 提交者: GitHub

[CodeStyle] add black config to release2.4 (#47146)

* [CodeStyle] add black config to release2.4

* empty commit, test=document_fix
上级 e8d63399
......@@ -4,10 +4,10 @@ repos:
hooks:
- id: remove-crlf
files: (?!.*third_party)^.*$ | (?!.*book)^.*$
- repo: https://github.com/google/yapf
rev: v0.32.0
- repo: https://github.com/psf/black.git
rev: 22.8.0
hooks:
- id: yapf
- id: black
files: (.*\.(py|bzl)|BUILD|.*\.BUILD|WORKSPACE)$
exclude: |
(?x)^(
......
[style]
based_on_style = pep8
column_limit = 80
[tool.black]
exclude = "build"
line-length = 80
skip-string-normalization = true
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册