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 1
1
{
2
2
"python.envFile" : " ${workspaceFolder}/.env" ,
3
3
"python.formatting.yapfPath" : " ${workspaceFolder}/.venv/bin/yapf" ,
4
- "python.analysis.typeCheckingMode" : " strict" ,
5
4
"python.languageServer" : " Pylance" ,
6
- "python.analysis.diagnosticSeverityOverrides" : {
7
- "reportUnknownMemberType" : " none" ,
8
- },
9
5
"python.formatting.provider" : " yapf" ,
10
6
"[python]" : {
11
7
"editor.insertSpaces" : true ,
42
38
}
43
39
]
44
40
},
41
+ "python.linting.enabled" : true ,
42
+ "python.linting.pylintEnabled" : true ,
43
+ "python.linting.mypyEnabled" : true
45
44
}
Original file line number Diff line number Diff line change @@ -94,3 +94,17 @@ disable = "missing-docstring\n"
94
94
[tool .pylint .IMPORTS ]
95
95
allow-any-import-level = " "
96
96
allow-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