pyrightconfig.json 659 B

1234567891011121314151617181920212223
  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. "reportAttributeAccessIssue": "warning",
  10. "disableBytesTypePromotions": false, // TODO: change once Python 3.12 is the minimum
  11. "executionEnvironments": [
  12. {
  13. // TODO: make this version override work correctly
  14. "root": "gguf-py",
  15. "pythonVersion": "3.8",
  16. },
  17. {
  18. // uses match expressions in steps.py
  19. "root": "tools/server/tests",
  20. "pythonVersion": "3.10",
  21. },
  22. ],
  23. }