/ pyrightconfig.json
pyrightconfig.json
 1  {
 2    "extraPaths": ["gguf-py"],
 3    "pythonVersion": "3.9",
 4    "pythonPlatform": "All",
 5    "reportUnusedImport": "warning",
 6    "reportDuplicateImport": "error",
 7    "reportDeprecated": "warning",
 8    "reportUnnecessaryTypeIgnoreComment": "information",
 9    "disableBytesTypePromotions": false, // TODO: change once Python 3.12 is the minimum
10    "executionEnvironments": [
11      {
12        // TODO: make this version override work correctly
13        "root": "gguf-py",
14        "pythonVersion": "3.8",
15      },
16      {
17        // uses match expressions in steps.py
18        "root": "examples/server/tests",
19        "pythonVersion": "3.10",
20      },
21    ],
22   }