Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: validation issues with examples #2269

Merged

Conversation

aucampia
Copy link
Member

@aucampia aucampia commented Mar 12, 2023

Summary of changes

I want to add examples for securing RDFLib network access using
sys.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.

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.

@aucampia aucampia force-pushed the iwana-20230312T1056-validate_examples branch from 917b312 to 1f8cc6d Compare March 12, 2023 15:01
@aucampia aucampia added review wanted This indicates that the PR is ready for review ready to merge The PR will be merged soon if no further feedback is provided. labels Mar 12, 2023
@aucampia aucampia requested a review from a team March 12, 2023 15:02
@aucampia aucampia force-pushed the iwana-20230312T1056-validate_examples branch from 1f8cc6d to 72de11f Compare March 12, 2023 15:14
@coveralls
Copy link

coveralls commented Mar 12, 2023

Coverage Status

Coverage: 90.782%. Remained the same when pulling 7032597 on aucampia:iwana-20230312T1056-validate_examples into 7a7cc1f on RDFLib:main.

I want to add examples for securing RDFLib network access using
`sys.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 seperate PR will then also get validated.
@aucampia aucampia force-pushed the iwana-20230312T1056-validate_examples branch from 72de11f to 7032597 Compare March 12, 2023 23:24
@aucampia aucampia merged commit 35a3537 into RDFLib:main Mar 13, 2023
@aucampia aucampia deleted the iwana-20230312T1056-validate_examples branch April 9, 2023 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready to merge The PR will be merged soon if no further feedback is provided. review wanted This indicates that the PR is ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants