I'm currently trying to detect deprecated defs in Visual Studio Code's Pylance, as shown in the article below.
How can I make VS Code treat usage of deprecated things in Python code as Problems?
I set pyrightconfig.json in the root of the project with the following content, but it doesn't work.
{
"reportDeprecated": "warning"
}
for exsample, deprecated def in python code is:
logging.warn('exsample')
Python → Analysis: Type Checking Mode is 'standard', in Visual Studio Code.
What can I do to fix it?
I hope the check can successfully detect deprecated defs.