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保存設置
相關文章
相關標籤/搜索