Python 缩进推荐 4 个空格,不要用 tab 键 Commit 前最好用 yapf 格式化下。 安装: pip install yapf 格式化命令:yapf --style=google xx.py -i