feat: add type hints to rdflib.path
by aucampia · Pull Request #2261 · RDFLib/rdflib (original) (raw)
Summary of changes
There are some deprecation warnings coming from here as evalPath
is used internally. I want to fix them, but I want type checking to ensure I don't mess up, so this just adds type checking, will fix the deprecation warnings in a separate PR.
This PR does not include any runtime changes, which can be confirmed from looking at the compact diff shared here.
Checklist
- Checked that there aren't other open pull requests for
the same change. - Checked that all tests and type checking passes.
- Considered granting push permissions to the PR branch,
so maintainers can fix minor issues and keep your PR up to date.