PyCharm 设置 Tabs and Indents
- [1. Tabs and Indents](#1. Tabs and Indents)
- [2. Show whitespaces](#2. Show whitespaces)
- [3. Google Python Style Guide - 3.4 Indentation](#3. Google Python Style Guide - 3.4 Indentation)
- References
1. Tabs and Indents
File -> Settings -> Editor -> Code Style -> Python

2. Show whitespaces

3. Google Python Style Guide - 3.4 Indentation
https://google.github.io/styleguide/pyguide.html
Indent your code blocks with 4 spaces.
Never use tabs. Implied line continuation should align wrapped elements vertically, or use a hanging 4-space indent. Closing (round, square or curly) brackets can be placed at the end of the expression, or on separate lines, but then should be indented the same as the line with the corresponding opening bracket.
使用 4 个空格缩进代码块,永远不要用 Tabs。
References
1\] Yongqiang Cheng (程永强),