我有以下方法
def foo(bar):
print("hello world")
编辑:在VSCode中运行pylint。
[预期行为]pylint将'bar'作为一个未使用的变量突出显示。
[实际行为]来自VScode输出。
##########Linting Output - pylint##########
--------------------------------------------------------------------
Your code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)
我没有额外的pylint配置设置