项目文件夹

文件
Hongzhi (Steve), Chen f1689ad0e1 [Misc]Add pyproject.toml for autopep8 & black. (#4543)
* Add pyproject.toml for autopep8.

* Add pyproject.toml for autopep8.

Co-authored-by: Steve <ubuntu@ip-172-31-34-29.ap-northeast-1.compute.internal>
2022-09-19 11:38:58 +08:00

23 行
457 B
TOML

[tool.black]
line-length = 80
[tool.autopep8]
max_line_length = 80
in-place = true
aggressive = 3
# Add the path to here if you want to exclude them from autopep8 auto reformat.
# When a directory or multiple files are passed to autopep8, it will ignore the
# following directory and files. It is not recommended to pass a directory to
# autopep8.
exclude = '''
.github/*,
build/*,
cmake/*,
conda/*,
docker/*,
third_party/*,
'''