43 lines
1.0 KiB
JSON
43 lines
1.0 KiB
JSON
{
|
|
"id": "e2b5e914-ffe1-44d2-8e92-58f8c5d92bb2",
|
|
"snapshot": "vscode",
|
|
"instruction": "I want to disable the missing imports reporting of python error, please modify the setting of VS Code for me.",
|
|
"source": "https://superuser.com/questions/1386061/how-to-suppress-some-python-errors-warnings-in-vs-code",
|
|
"config": [
|
|
{
|
|
"type": "launch",
|
|
"parameters": {
|
|
"command": [
|
|
"code"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "activate_window",
|
|
"parameters": {
|
|
"window_name": "Visual Studio Code"
|
|
}
|
|
}
|
|
],
|
|
"trajectory": "trajectories/",
|
|
"related_apps": [
|
|
"vscode"
|
|
],
|
|
"evaluator": {
|
|
"func": "check_json_settings",
|
|
"expected": {
|
|
"type": "rule",
|
|
"rules": {
|
|
"expect": {
|
|
"python.analysis.diagnosticSeverityOverrides": {"reportMissingImports": "none"}
|
|
}
|
|
}
|
|
},
|
|
"result": {
|
|
"type": "vm_file",
|
|
"path": "/home/user/.config/Code/User/settings.json",
|
|
"dest": "settings.json"
|
|
}
|
|
}
|
|
}
|