Making Eclipse follow the PEP 8 formatting standards?
Is there any way to make Eclipse follow PEP 8 code formatting standards 开发者_高级运维by default, and show warnings if such standards are broken?
As ulidtko said in his comment, you can set the Eclipse Python editor to generate code in a certain way. If the Eclipse Python Editor has a Format
option, you can format the Python code based on the Eclipse Python editor settings.
However, you can't force anyone to use the Format
option.
精彩评论