-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathpyrightconfig.json
More file actions
25 lines (22 loc) 路 844 Bytes
/
Copy pathpyrightconfig.json
File metadata and controls
25 lines (22 loc) 路 844 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
// Note we can not use the pyproject.toml file because it breaks OctoPrint installs.
"exclude": [
"**/node_modules",
"**/__pycache__",
"**/Proto",
"**/.vscode",
"**/debugprofiler.py",
"tests",
],
// Set the version to the oldest we support, so we can catch issues.
"pythonVersion": "3.7",
"pythonPlatform": "Linux",
// TODO: Overtime set more of these to strict so we can catch more issues.
// Enable this to set all to strict.
// "strict": ["**"],
"reportUnknownParameterType":"error",
// Third-party stubs like requests can expose partially unknown member types.
// Keep this as a warning so real Pyright type checks still run without CI failing on stub internals.
"reportUnknownMemberType":"warning",
"reportDeprecated":"error"
}