VSCODE показывают, когда переменная защищена или частный Python

"""
Hit ctrl+shift+p and type Open Settings (JSON)
After the last attribute add a comma and in a new line the following code:
"""

"python.analysis.diagnosticSeverityOverrides": {
    "reportPrivateUsage": "error"
}
  
"""
Save and close the file
Now everytime you try to use a variable that starts with
_ or __, outside their scope, vscode will warn you
"""
Magic Thanos