This repository was archived by the owner on Apr 17, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +17
-4
lines changed Expand file tree Collapse file tree 2 files changed +17
-4
lines changed Original file line number Diff line number Diff line change 11{
22 "python.envFile" : " ${workspaceFolder}/.env" ,
33 "python.formatting.yapfPath" : " ${workspaceFolder}/.venv/bin/yapf" ,
4- "python.analysis.typeCheckingMode" : " strict" ,
54 "python.languageServer" : " Pylance" ,
6- "python.analysis.diagnosticSeverityOverrides" : {
7- "reportUnknownMemberType" : " none" ,
8- },
95 "python.formatting.provider" : " yapf" ,
106 "[python]" : {
117 "editor.insertSpaces" : true ,
4238 }
4339 ]
4440 },
41+ "python.linting.enabled" : true ,
42+ "python.linting.pylintEnabled" : true ,
43+ "python.linting.mypyEnabled" : true
4544}
Original file line number Diff line number Diff line change @@ -94,3 +94,17 @@ disable = "missing-docstring\n"
9494[tool .pylint .IMPORTS ]
9595allow-any-import-level = " "
9696allow-wildcard-with-all = " no"
97+
98+ [tool .pyright ]
99+ pythonVersion = " 3.9"
100+ stubPath = " ./.typings"
101+ venvPath = " ./.venv"
102+ pythonPlatform = " All"
103+ typeCheckingMode = " strict"
104+ include = [" ./twitter_video_tools" ]
105+ exclude = [" **/node_modules" , " **/__pycache__" ]
106+ defineConstant = { DEBUG = true }
107+ useLibraryCodeForTypes = true
108+ verboseOutput = false
109+ reportMissingTypeStubs = true # even for 3rd party modules, it's required to create type stubs
110+ reportUnknownMemberType = false # for no typed modules
You can’t perform that action at this time.
0 commit comments