pyrightconfig.json 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. // Type-check scope for basedpyright (`uv run basedpyright`).
  2. // This file is read as JSONC, so comments are fine here.
  3. {
  4. // First-party code only. vendor/ ships upstream dependencies (see
  5. // VENDORING.md) and dist/ is build output; the test modules lean on
  6. // mock-attribute patterns that are out of scope for the CLI gate — open
  7. // them in an editor and the language server still checks them live.
  8. "include": ["."],
  9. "exclude": [
  10. "vendor",
  11. "dist",
  12. ".venv",
  13. "test_adapter.py",
  14. "test_platform_config.py"
  15. ],
  16. "typeCheckingMode": "standard",
  17. "pythonVersion": "3.11",
  18. // Imports living outside this checkout: the vendored dependency tree plus
  19. // the Hermes Agent sources this plugin plugs into. Both layouts from
  20. // AGENTS.md resolve — sibling checkout ("../hermes-agent") and nested
  21. // plugins/platforms install ("../../.."); paths that do not exist on a
  22. // given machine are ignored.
  23. "extraPaths": [
  24. "vendor/common",
  25. "vendor/platform/linux-x86_64",
  26. "vendor/platform/linux-aarch64",
  27. "vendor/platform/macos-arm64",
  28. "../hermes-agent",
  29. "../../.."
  30. ]
  31. }