python – Visual Studio代码Pylint AutoFix在Ubuntu 17.04上不显示

python – Visual Studio代码Pylint AutoFix在Ubuntu 17.04上不显示,第1张

概述我在visual studio代码中设置了一个 python项目,这是我在launch.json中使用的调试选项: { "name": "External Terminal/Console", "type": "python", "request": "launch", "stopOnEntry": f 我在visual studio代码中设置了一个 python项目,这是我在launch.Json中使用的调试选项:

{            "name": "External Terminal/Console","type": "python","request": "launch","stopOnEntry": false,"pythonPath": "${config:python.pythonPath}","program": "${file}","cwd": "","console": "externalTerminal","env": {},"envfile": "${workspaceRoot}/.env","deBUGOptions": [                "WaitOnAbnormalExit","WaitOnnormalExit"            ]        }

我安装了pylint并创建了一个看起来完全像这样的settings.Json文件:

{ "python.linting.pep8Enabled": true,"python.linting.pep8Path": "/usr/bin/pep8","python.linting.pylintPath": "/usr/bin/pylint"}

正在显示pylint linter错误,但没有出现轻微气泡,这有助于自动修复linter错误.

造成这种情况的原因是什么以及如何启用轻微泡泡,这有助于我修复linter错误,例如修复所有可自动修复的错误.

解决方法 是的,Pylint没有轻微气泡.

如果您需要带有光泡的短绒,请尝试SonarLint.

总结

以上是内存溢出为你收集整理的python – Visual Studio代码Pylint AutoFix在Ubuntu 17.04上不显示全部内容,希望文章能够帮你解决python – Visual Studio代码Pylint AutoFix在Ubuntu 17.04上不显示所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址:https://www.54852.com/langs/1196331.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-06-03
下一篇2022-06-03

发表评论

登录后才能评论

评论列表(0条)

    保存