pyrightconfig.json 1.1 KB

1234567891011121314151617181920212223242526272829303132
  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. "trial.py"
  16. ],
  17. "typeCheckingMode": "standard",
  18. "pythonVersion": "3.11",
  19. // Imports living outside this checkout: the vendored dependency tree plus
  20. // the Hermes Agent sources this plugin plugs into. Both layouts from
  21. // AGENTS.md resolve — sibling checkout ("../hermes-agent") and nested
  22. // plugins/platforms install ("../../.."); paths that do not exist on a
  23. // given machine are ignored.
  24. "extraPaths": [
  25. "vendor/common",
  26. "vendor/platform/linux-x86_64",
  27. "vendor/platform/linux-aarch64",
  28. "vendor/platform/macos-arm64",
  29. "../hermes-agent",
  30. "../../.."
  31. ]
  32. }