0
我已經安裝了名爲「logentries」供應商的軟件包,但我得到下面的錯誤標籤和使用供應商「logentries」當壓痕空間包:taberror:不一致的使用
TabError: inconsistent use of tabs and spaces in indentation
.../lib/python3.5/site-packages/logentries/metrics.py", line 58
我使用PyCharm IDE和所有設置都是正確的:如果我部署代碼unix環境
Tab Size: 4
Indent: 4
Continuation Indent: 8
作爲一種變通方法,我不得不重新格式化文件「metrics.py」,在IDE手動有這個問題,但這種解決方法是行不通的,除非我使用格式化程序包來手動格式化文件「metrics.py」。
我使用Python 3.5和供應商包支持Python 2和3,請參閱包裝細節:
https://pypi.python.org/pypi/Logentries
有什麼建議?