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
有什么建议?