fix: validation issues with examples by aucampia · Pull Request #2269 · RDFLib/rdflib (original) (raw)
Summary of changes
I want to add examples for securing RDFLib network access usingsys.addaudithook
and urllib.request.install_opener
, but I want to
also validate the examples in our CI pipeline, so we can demonstrate
they work to our users.
This change adds validation for all examples, and the addition of the
security examples in a separate PR will then also get validated.
This change also fixes any validation issues for the examples.
- This PR will be merged after feat: more type hints for rdflib.plugins.sparql #2268, so to get a accurate picture of the changes, have a look at aucampia/rdflib@iwana-20230312T1355-type_sparql...iwana-20230312T1056-validate_examples
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.