Created
August 22, 2023 04:54
-
-
Save luochen1990/e877ff5340e2138af6fdca52e01a8b63 to your computer and use it in GitHub Desktop.
VSCode Python strict mode config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"files.trimTrailingWhitespace": true, | |
"python.languageServer": "Pylance", | |
"python.analysis.typeCheckingMode": "strict", | |
"python.analysis.diagnosticSeverityOverrides": { | |
"reportImportCycles": "warning", | |
"reportUnnecessaryComparison": "information", | |
"reportUnnecessaryIsInstance": "information", | |
"reportUnnecessaryContains": "information", | |
"reportUnusedImport": "information", | |
"reportUnusedVariable": "warning", | |
"reportUnusedCallResult": "none", | |
"reportUnusedFunction": "warning", | |
"reportUnusedClass": "warning", | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment