开发者

Making Eclipse follow the PEP 8 formatting standards?

开发者 https://www.devze.com 2023-03-05 16:09 出处:网络
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 Eclips

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消