feat: add type hints for rdflib.store and rdflib.plugins.stores by aucampia · Pull Request #2057 · RDFLib/rdflib (original) (raw)

aucampia

Summary of changes

Add type hints and aliases for rdflib.store and
rdflib.plugins.stores and also add a couple of more type hints and
aliases to rdflib.graph.

This PR contains no runtime changes.

Other changes:

Compact diff: https://gist.github.com/aucampia/3f380070fbd8f0e8a99aea2df6cc1f06

Checklist

@coveralls

Coverage Status

Coverage decreased (-0.05%) to 90.439% when pulling 16d9618 on aucampia:iwana-20220728T1941-store_typing into ff41218 on RDFLib:master.

@aucampia

I will publish this tomorrow, I'm writing a script to diff python source code with type hints and comments removed, so it is easier to review these PRs.

@aucampia

@aucampia aucampia marked this pull request as ready for review

July 29, 2022 01:08

@aucampia

ajnelson-nist

@ajnelson-nist

@aucampia : I don't really have experience with this area in the code, so I don't have cogent feedback aside from noticing a documentation typo.

ghost

Choose a reason for hiding this comment

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

lgtm, will be v. useful for ADR

@aucampia

Add type hints and aliases for rdflib.store and rdflib.plugins.stores and also add a couple of more type hints and aliases to rdflib.graph.

This PR contains no runtime changes.

Other changes:

@aucampia aucampia deleted the iwana-20220728T1941-store_typing branch

April 9, 2023 15:05