chitralverma opened a new pull request, #7813:
URL: https://github.com/apache/opendal/pull/7813

   # Which issue does this PR close?
   
   Closes #.
   
   # Rationale for this change
   
   The Python binding used pyright/basedpyright for type checking, configured 
via a standalone `pyrightconfig.json`. This PR switches to 
[`ty`](https://github.com/astral-sh/ty) (Astral's type checker), aligning the 
binding's tooling with the `ruff`/`uv` stack it already uses and wiring type 
checking into the lint flow.
   
   # What changes are included in this PR?
   
   - Removed `pyrightconfig.json`.
   - Added `ty` to the `lint` dependency group and a `[tool.ty.src]` config in 
`pyproject.toml` (scopes checking to `python/opendal`, excludes the generated 
`*.pyi` stubs — mirroring the previous pyright config).
   - Wired `uv run ty check` into the `lint` recipe in the `justfile`.
   - Dropped the now-unnecessary `# pyright:ignore` in 
`python/opendal/__init__.py` (`ty` resolves the imports cleanly).
   - Updated a type-checker reference in `upgrade.md` (`pyright/mypy` → 
`ty/mypy`).
   - Refreshed `uv.lock`.
   
   # Are there any user-facing changes?
   
   No. This is a developer-tooling change only; the package's runtime behavior, 
public API, and type stubs are unchanged.
   
   # AI Usage Statement
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to