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

feat: add typing for rdflib/plugins/sparql #1926

Merged
merged 2 commits into from May 15, 2022

Conversation

aucampia
Copy link
Member

Summary of changes

Only adds typing to two files, will add more later.

I'm adding this to make it easier to spot bugs in new PRs to SPARQL
code.

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 requested a review from a team May 13, 2022 20:27
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, I'm finding all this very informative as well as useful.

@coveralls
Copy link

coveralls commented May 13, 2022

Coverage Status

Coverage remained the same at 88.274% when pulling 34b5094 on aucampia:iwana-20220513T2207-typing_sparql into d5eb957 on RDFLib:master.

@aucampia aucampia added the review wanted This indicates that the PR is ready for review label May 14, 2022
@aucampia aucampia changed the title Add typing for rdflib/plugins/sparql feat: add typing for rdflib/plugins/sparql May 14, 2022
This patch adds typing to two files and changes imports so that they are
more specific to the module in which classes are defined.

This patch contains no runtime changes.

I'm adding this to make it easier to spot bugs in new PRs to SPARQL
code.
@aucampia aucampia force-pushed the iwana-20220513T2207-typing_sparql branch from a1959ca to 165b3c0 Compare May 15, 2022 08:40
Changing these names now will break our interface, so best to just
accept the broken naming there.
@aucampia aucampia merged commit d5d354f into RDFLib:master May 15, 2022
@ghost ghost removed the review wanted This indicates that the PR is ready for review label Jun 4, 2022
@aucampia aucampia deleted the iwana-20220513T2207-typing_sparql branch June 4, 2022 21:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants