Spyder 4.1.5禁用选定的pycodestyle警告

2024-05-14 19:19:27 发布

您现在位置:Python中文网/ 问答频道 /正文

将Spyder更新到4.1.5后,我的脚本中会出现一大堆特定于口味的警报,如:

Code analysis:
E261 at least two spaces before inline comment (pycodestyle E261)

Code analysis:
E266 too many leading '#' for block comment (pycodestyle E266)

虽然许多警告改进了我的代码,但我想禁用我不同意的警告(例如上面列出的两个)

我怎么做


Tags: 脚本警告commentcodeanalysis警报atpycodestyle

热门问题