Pycharm中的This file is indented with tabs instead of 4 spaces

File->settings->Editor->Code Style->看右边有一个Indents Detection 将Detect and use existing file indents for editing这一些的勾去掉,点击OK保存设置
相关文章
相关标签/搜索