Skip to content

Instantly share code, notes, and snippets.

@steveandroulakis
Last active November 10, 2025 19:51
Show Gist options
  • Select an option

  • Save steveandroulakis/e464dce637523a10b99b3c091c6f3d6e to your computer and use it in GitHub Desktop.

Select an option

Save steveandroulakis/e464dce637523a10b99b3c091c6f3d6e to your computer and use it in GitHub Desktop.
vscode settings.json to shut off red errors for python demos
{
"python.terminal.activateEnvironment": false,
"python.analysis.diagnosticMode": "workspace",
"python.analysis.diagnosticSeverityOverrides": {
"reportGeneralTypeIssues": "none",
"reportOptionalMemberAccess": "none",
"reportOptionalSubscript": "none",
"reportPrivateImportUsage": "none",
"reportUnboundVariable": "none",
"reportUndefinedVariable": "none",
"reportMissingImports": "none",
"reportMissingModuleSource": "none",
"reportAttributeAccessIssue": "none",
"reportArgumentType": "none",
"reportReturnType": "none",
"reportOptionalCall": "none",
"reportAssignmentType": "none",
"reportCallIssue": "none",
"reportIncompatibleMethodOverride": "none",
"reportIncompatibleVariableOverride": "none",
"reportUntypedFunctionDecorator": "none",
"reportUntypedClassDecorator": "none",
"reportUntypedBaseClass": "none",
"reportUntypedNamedTuple": "none",
"reportPrivateUsage": "none",
"reportConstantRedefinition": "none",
"reportDeprecated": "none",
"reportInvalidTypeForm": "none",
"reportMissingParameterType": "none",
"reportUnknownParameterType": "none",
"reportUnknownArgumentType": "none",
"reportUnknownLambdaType": "none",
"reportUnknownVariableType": "none",
"reportUnknownMemberType": "none",
"reportMissingTypeArgument": "none",
"reportInvalidTypeArguments": "none",
"reportCallInDefaultInitializer": "none",
"reportUnnecessaryIsInstance": "none",
"reportUnnecessaryCast": "none",
"reportUnnecessaryComparison": "none",
"reportUnnecessaryContains": "none",
"reportImplicitStringConcatenation": "none",
"reportInvalidStubStatement": "none",
"reportIncompleteStub": "none",
"reportUnsupportedDunderAll": "none",
"reportUnusedClass": "none",
"reportUnusedFunction": "none",
"reportUnusedVariable": "none",
"reportDuplicateImport": "none",
"reportOptionalIterable": "none",
"reportOptionalContextManager": "none",
"reportOptionalOperand": "none",
"reportTypedDictNotRequiredAccess": "none",
"reportAbstractUsage": "none",
"reportIndexIssue": "none",
"reportOperatorIssue": "none",
"reportPossiblyUnboundVariable": "none",
"reportRedeclaration": "none",
"reportUnusedImport": "none",
"reportUnusedCallResult": "none",
"reportUnusedCoroutine": "none",
"reportUnusedExpression": "none",
"reportWildcardImportFromLibrary": "none",
"reportImportCycles": "none",
"reportMissingTypeStubs": "none",
"reportUnhashable": "none",
"mypy-type-checker.ignorePatterns": [
"**/*"
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment