| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A bit of a roundabout reason why this matters now, but basically:
I want to add examples for securing RDFLib with `sys.addaudithook`
and `urllib.request.install_opener`. I also want to be sure examples
are actually valid, and runnable, so I was adding static analysis
and simple execution of examples to our CI.
During this, I noticed that examples use `initBindings` with
`Dict[str,...]`, which was not valid according to mypy, but then after
some investigation I realized the type hints in some places were too
strict.
So the main impetus for this is actually to relax the type hints in
`rdflib.graph`, but to ensure this is valid I'm adding a bunch of type
hints I had saved up to `rdflib.plugins.sparql`.
Even though this PR looks big, it has no runtime changes.
|
| |
|
|
|
|
|
|
|
| |
These will eventually come up once `flakeheaven` baseline expires.
The actual problems should be fixed in conjunction with tests.
Only fixes are related to unused imports.
|
|
|
|
| |
for more information, see https://pre-commit.ci
|
|
|
|
|
|
| |
Added this while debugging #1524.
This change contains no runtime changes.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
opinions is mainly: no to long lines, but not at any cost.
notation3.py crashses autopep :D
Also rdflib/__init__.py gets completely broken
|
|
|
|
|
| |
not just numerics as before.
fixes #628
|
|\ |
|
|/ |
|
| |
|
| |
|
|
|