build(deps-dev): bump black from 24.3.0 to 24.4.2 by dependabot[bot] · Pull Request #2770 · RDFLib/rdflib (original) (raw)
Now I'm seeing a mypy error:
rdflib/plugins/sparql/algebra.py: note: In member "convert_node_arg" of class "_AlgebraTranslator":
rdflib/plugins/sparql/algebra.py:1010: error: Subclass of "str" and "Expr" cannot exist: would have incompatible method signatures [unreachable]
rdflib/plugins/sparql/algebra.py:1011: error: Statement is unreachable [unreachable]
Found 2 errors in 1 file (checked 394 source files)
Its not related to the Black version, so probably not related to this PR.
I'm trying to reproduce that error locally with various different versions of MyPy and mypy extensions and typing extensions, and I can't get it to happen.
Edit: Think that is an old error, its already fixed in main
. Recreating this dependabot PR.