pyrightconfig.json 653 B

12345678910111213141516171819202122
  1. {
  2. "extraPaths": ["gguf-py", "examples/model-conversion/scripts"],
  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": "tools/server/tests",
  19. "pythonVersion": "3.10",
  20. },
  21. ],
  22. }