gpt4 book ai didi

python - 带有忽略指令的pylint状态代码

转载 作者:行者123 更新时间:2023-11-28 17:46:06 25 4
gpt4 key购买 nike

pylint 退出状态代码仍然返回已发出错误消息 (ret | 2),即使我明确忽略错误:

# pylint: disable=E0611

有什么办法可以改变这种行为吗?

最佳答案

@torek 是对的。

我使用的 pylint 版本是 0.25.2。

pylint 版本 0.28.0(当前版本)工作正常。

关于python - 带有忽略指令的pylint状态代码,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17843462/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com