Skip to content

7.1.3 release PR

7.1.3 release PR #2216

GitHub Actions / mypy report succeeded Jan 15, 2025 in 0s

0 passed, 12 failed and 0 skipped

Tests failed

Report Passed Failed Skipped Time
3.10-macos-latest-mypy-junit.xml 1❌ 6s
3.10-ubuntu-latest-mypy-junit.xml 1❌ 11s
3.10-windows-latest-mypy-junit.xml 1❌ 13s
3.11-macos-latest-mypy-junit.xml 1❌ 8s
3.11-ubuntu-latest-mypy-junit.xml 1❌ 10s
3.11-windows-latest-mypy-junit.xml 1❌ 11s
3.8-macos-latest-mypy-junit.xml 1❌ 5s
3.8-ubuntu-latest-mypy-junit.xml 1❌ 11s
3.8-windows-latest-mypy-junit.xml 1❌ 11s
3.9-macos-latest-mypy-junit.xml 1❌ 6s
3.9-ubuntu-latest-mypy-junit.xml 1❌ 12s
3.9-windows-latest-mypy-junit.xml 1❌ 12s

❌ 3.10-macos-latest-mypy-junit.xml

1 tests were completed in 6s with 0 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
mypy 1❌ 6s

❌ mypy

❌ mypy-py3_8-darwin
	rdflib/store.py: note: In member "triples_choices" of class "Store":

❌ 3.10-ubuntu-latest-mypy-junit.xml

1 tests were completed in 11s with 0 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
mypy 1❌ 11s

❌ mypy

❌ mypy-py3_8-linux
	rdflib/store.py: note: In member "triples_choices" of class "Store":

❌ 3.10-windows-latest-mypy-junit.xml

1 tests were completed in 13s with 0 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
mypy 1❌ 13s

❌ mypy

❌ mypy-py3_8-win32
	rdflib\store.py: note: In member "triples_choices" of class "Store":

❌ 3.11-macos-latest-mypy-junit.xml

1 tests were completed in 8s with 0 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
mypy 1❌ 8s

❌ mypy

❌ mypy-py3_8-darwin
	rdflib/store.py: note: In member "triples_choices" of class "Store":

❌ 3.11-ubuntu-latest-mypy-junit.xml

1 tests were completed in 10s with 0 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
mypy 1❌ 10s

❌ mypy

❌ mypy-py3_8-linux
	rdflib/store.py: note: In member "triples_choices" of class "Store":

❌ 3.11-windows-latest-mypy-junit.xml

1 tests were completed in 11s with 0 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
mypy 1❌ 11s

❌ mypy

❌ mypy-py3_8-win32
	rdflib\store.py: note: In member "triples_choices" of class "Store":

❌ 3.8-macos-latest-mypy-junit.xml

1 tests were completed in 5s with 0 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
mypy 1❌ 5s

❌ mypy

❌ mypy-py3_8-darwin
	rdflib/store.py: note: In member "triples_choices" of class "Store":

❌ 3.8-ubuntu-latest-mypy-junit.xml

1 tests were completed in 11s with 0 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
mypy 1❌ 11s

❌ mypy

❌ mypy-py3_8-linux
	rdflib/store.py: note: In member "triples_choices" of class "Store":

❌ 3.8-windows-latest-mypy-junit.xml

1 tests were completed in 11s with 0 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
mypy 1❌ 11s

❌ mypy

❌ mypy-py3_8-win32
	rdflib\store.py: note: In member "triples_choices" of class "Store":

❌ 3.9-macos-latest-mypy-junit.xml

1 tests were completed in 6s with 0 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
mypy 1❌ 6s

❌ mypy

❌ mypy-py3_8-darwin
	rdflib/store.py: note: In member "triples_choices" of class "Store":

❌ 3.9-ubuntu-latest-mypy-junit.xml

1 tests were completed in 12s with 0 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
mypy 1❌ 12s

❌ mypy

❌ mypy-py3_8-linux
	rdflib/store.py: note: In member "triples_choices" of class "Store":

❌ 3.9-windows-latest-mypy-junit.xml

1 tests were completed in 12s with 0 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
mypy 1❌ 12s

❌ mypy

❌ mypy-py3_8-win32
	rdflib\store.py: note: In member "triples_choices" of class "Store":

Annotations

Check failure on line 0 in 3.10-macos-latest-mypy-junit.xml

See this annotation in the file changed.

@github-actions github-actions / mypy report

mypy ► mypy-py3_8-darwin

Failed test found in:
  3.10-macos-latest-mypy-junit.xml
Error:
  rdflib/store.py: note: In member "triples_choices" of class "Store":
Raw output
rdflib/store.py: note: In member "triples_choices" of class "Store":
rdflib/store.py:325: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[Union[Node, Tuple[Node, ...], None], Union[Node, Tuple[Node, ...]], Node]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib/store.py:330: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[Union[Node, Tuple[Node, ...], None], Union[Node, Tuple[Node, ...]], None]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib/store.py:339: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[Node, Union[Node, Tuple[Node, ...]], Union[Node, Tuple[Node, ...], None]]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib/store.py:344: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[None, Union[Node, Tuple[Node, ...]], Union[Node, Tuple[Node, ...], None]]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib/store.py:353: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[Union[Node, Tuple[Node, ...], None], Node, Union[Node, Tuple[Node, ...], None]]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib/store.py:357: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[Union[Node, Tuple[Node, ...], None], None, Union[Node, Tuple[Node, ...], None]]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib/parser.py:136: error: Unused "type: ignore" comment  [unused-ignore]
rdflib/graph.py:702: error: Unused "type: ignore" comment  [unused-ignore]
rdflib/graph.py:708: error: Unused "type: ignore" comment  [unused-ignore]
rdflib/graph.py:710: error: Unused "type: ignore" comment  [unused-ignore]
test/test_serializers/test_serializer_longturtle_sort.py: note: In function "test_sort_semiblank_graph":
test/test_serializers/test_serializer_longturtle_sort.py:31: error: "defaultdict" is not subscriptable, use "typing.DefaultDict" instead  [misc]
test/test_serializers/test_serializer_longturtle_sort.py:47: error: "list" is not subscriptable, use "typing.List" instead  [misc]
test/test_serializers/test_serializer_longturtle_sort.py:53: error: "list" is not subscriptable, use "typing.List" instead  [misc]
rdflib/plugins/serializers/turtle.py: note: In member "orderSubjects" of class "RecursiveSerializer":
rdflib/plugins/serializers/turtle.py:75: error: All overload variants of "sort" of "list" require at least one argument  [call-overload]
rdflib/plugins/serializers/turtle.py:75: note: Possible overload variant:
rdflib/plugins/serializers/turtle.py:75: note:     def sort(self, *, key: Callable[[Node], Union[SupportsDunderLT[Any], SupportsDunderGT[Any]]], reverse: bool = ...) -> None
rdflib/plugins/serializers/turtle.py: note: In member "sortProperties" of class "RecursiveSerializer":
rdflib/plugins/serializers/turtle.py:142: error: All overload variants of "sort" of "list" require at least one argument  [call-overload]
rdflib/plugins/serializers/turtle.py:142: note: Possible overload variant:
rdflib/plugins/serializers/turtle.py:142: note:     def sort(self, *, key: Callable[[Node], Union[SupportsDunderLT[Any], SupportsDunderGT[Any]]], reverse: bool = ...) -> None
rdflib/plugins/serializers/turtle.py:152: error: All overload variants of "sort" of "list" require at least one argument  [call-overload]
rdflib/plugins/serializers/turtle.py:152: note: Possible overload variant:
rdflib/plugins/serializers/turtle.py:152: note:     def sort(self, *, key: Callable[[Node], Union[SupportsDunderLT[Any], SupportsDunderGT[Any]]], reverse: bool = ...) -> None

Check failure on line 0 in 3.10-ubuntu-latest-mypy-junit.xml

See this annotation in the file changed.

@github-actions github-actions / mypy report

mypy ► mypy-py3_8-linux

Failed test found in:
  3.10-ubuntu-latest-mypy-junit.xml
Error:
  rdflib/store.py: note: In member "triples_choices" of class "Store":
Raw output
rdflib/store.py: note: In member "triples_choices" of class "Store":
rdflib/store.py:325: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[Union[Node, Tuple[Node, ...], None], Union[Node, Tuple[Node, ...]], Node]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib/store.py:330: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[Union[Node, Tuple[Node, ...], None], Union[Node, Tuple[Node, ...]], None]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib/store.py:339: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[Node, Union[Node, Tuple[Node, ...]], Union[Node, Tuple[Node, ...], None]]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib/store.py:344: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[None, Union[Node, Tuple[Node, ...]], Union[Node, Tuple[Node, ...], None]]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib/store.py:353: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[Union[Node, Tuple[Node, ...], None], Node, Union[Node, Tuple[Node, ...], None]]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib/store.py:357: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[Union[Node, Tuple[Node, ...], None], None, Union[Node, Tuple[Node, ...], None]]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib/parser.py:136: error: Unused "type: ignore" comment  [unused-ignore]
rdflib/graph.py:702: error: Unused "type: ignore" comment  [unused-ignore]
rdflib/graph.py:708: error: Unused "type: ignore" comment  [unused-ignore]
rdflib/graph.py:710: error: Unused "type: ignore" comment  [unused-ignore]
test/test_serializers/test_serializer_longturtle_sort.py: note: In function "test_sort_semiblank_graph":
test/test_serializers/test_serializer_longturtle_sort.py:31: error: "defaultdict" is not subscriptable, use "typing.DefaultDict" instead  [misc]
test/test_serializers/test_serializer_longturtle_sort.py:47: error: "list" is not subscriptable, use "typing.List" instead  [misc]
test/test_serializers/test_serializer_longturtle_sort.py:53: error: "list" is not subscriptable, use "typing.List" instead  [misc]
rdflib/plugins/serializers/turtle.py: note: In member "orderSubjects" of class "RecursiveSerializer":
rdflib/plugins/serializers/turtle.py:75: error: All overload variants of "sort" of "list" require at least one argument  [call-overload]
rdflib/plugins/serializers/turtle.py:75: note: Possible overload variant:
rdflib/plugins/serializers/turtle.py:75: note:     def sort(self, *, key: Callable[[Node], Union[SupportsDunderLT[Any], SupportsDunderGT[Any]]], reverse: bool = ...) -> None
rdflib/plugins/serializers/turtle.py: note: In member "sortProperties" of class "RecursiveSerializer":
rdflib/plugins/serializers/turtle.py:142: error: All overload variants of "sort" of "list" require at least one argument  [call-overload]
rdflib/plugins/serializers/turtle.py:142: note: Possible overload variant:
rdflib/plugins/serializers/turtle.py:142: note:     def sort(self, *, key: Callable[[Node], Union[SupportsDunderLT[Any], SupportsDunderGT[Any]]], reverse: bool = ...) -> None
rdflib/plugins/serializers/turtle.py:152: error: All overload variants of "sort" of "list" require at least one argument  [call-overload]
rdflib/plugins/serializers/turtle.py:152: note: Possible overload variant:
rdflib/plugins/serializers/turtle.py:152: note:     def sort(self, *, key: Callable[[Node], Union[SupportsDunderLT[Any], SupportsDunderGT[Any]]], reverse: bool = ...) -> None

Check failure on line 0 in 3.10-windows-latest-mypy-junit.xml

See this annotation in the file changed.

@github-actions github-actions / mypy report

mypy ► mypy-py3_8-win32

Failed test found in:
  3.10-windows-latest-mypy-junit.xml
Error:
  rdflib\store.py: note: In member "triples_choices" of class "Store":
Raw output
rdflib\store.py: note: In member "triples_choices" of class "Store":
rdflib\store.py:325: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[Union[Node, Tuple[Node, ...], None], Union[Node, Tuple[Node, ...]], Node]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib\store.py:330: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[Union[Node, Tuple[Node, ...], None], Union[Node, Tuple[Node, ...]], None]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib\store.py:339: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[Node, Union[Node, Tuple[Node, ...]], Union[Node, Tuple[Node, ...], None]]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib\store.py:344: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[None, Union[Node, Tuple[Node, ...]], Union[Node, Tuple[Node, ...], None]]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib\store.py:353: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[Union[Node, Tuple[Node, ...], None], Node, Union[Node, Tuple[Node, ...], None]]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib\store.py:357: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[Union[Node, Tuple[Node, ...], None], None, Union[Node, Tuple[Node, ...], None]]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib\parser.py:136: error: Unused "type: ignore" comment  [unused-ignore]
rdflib\graph.py:702: error: Unused "type: ignore" comment  [unused-ignore]
rdflib\graph.py:708: error: Unused "type: ignore" comment  [unused-ignore]
rdflib\graph.py:710: error: Unused "type: ignore" comment  [unused-ignore]
test\test_serializers\test_serializer_longturtle_sort.py: note: In function "test_sort_semiblank_graph":
test\test_serializers\test_serializer_longturtle_sort.py:31: error: "defaultdict" is not subscriptable, use "typing.DefaultDict" instead  [misc]
test\test_serializers\test_serializer_longturtle_sort.py:47: error: "list" is not subscriptable, use "typing.List" instead  [misc]
test\test_serializers\test_serializer_longturtle_sort.py:53: error: "list" is not subscriptable, use "typing.List" instead  [misc]
rdflib\plugins\serializers\turtle.py: note: In member "orderSubjects" of class "RecursiveSerializer":
rdflib\plugins\serializers\turtle.py:75: error: All overload variants of "sort" of "list" require at least one argument  [call-overload]
rdflib\plugins\serializers\turtle.py:75: note: Possible overload variant:
rdflib\plugins\serializers\turtle.py:75: note:     def sort(self, *, key: Callable[[Node], Union[SupportsDunderLT[Any], SupportsDunderGT[Any]]], reverse: bool = ...) -> None
rdflib\plugins\serializers\turtle.py: note: In member "sortProperties" of class "RecursiveSerializer":
rdflib\plugins\serializers\turtle.py:142: error: All overload variants of "sort" of "list" require at least one argument  [call-overload]
rdflib\plugins\serializers\turtle.py:142: note: Possible overload variant:
rdflib\plugins\serializers\turtle.py:142: note:     def sort(self, *, key: Callable[[Node], Union[SupportsDunderLT[Any], SupportsDunderGT[Any]]], reverse: bool = ...) -> None
rdflib\plugins\serializers\turtle.py:152: error: All overload variants of "sort" of "list" require at least one argument  [call-overload]
rdflib\plugins\serializers\turtle.py:152: note: Possible overload variant:
rdflib\plugins\serializers\turtle.py:152: note:     def sort(self, *, key: Callable[[Node], Union[SupportsDunderLT[Any], SupportsDunderGT[Any]]], reverse: bool = ...) -> None

Check failure on line 0 in 3.11-macos-latest-mypy-junit.xml

See this annotation in the file changed.

@github-actions github-actions / mypy report

mypy ► mypy-py3_8-darwin

Failed test found in:
  3.11-macos-latest-mypy-junit.xml
Error:
  rdflib/store.py: note: In member "triples_choices" of class "Store":
Raw output
rdflib/store.py: note: In member "triples_choices" of class "Store":
rdflib/store.py:325: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[Union[Node, Tuple[Node, ...], None], Union[Node, Tuple[Node, ...]], Node]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib/store.py:330: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[Union[Node, Tuple[Node, ...], None], Union[Node, Tuple[Node, ...]], None]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib/store.py:339: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[Node, Union[Node, Tuple[Node, ...]], Union[Node, Tuple[Node, ...], None]]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib/store.py:344: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[None, Union[Node, Tuple[Node, ...]], Union[Node, Tuple[Node, ...], None]]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib/store.py:353: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[Union[Node, Tuple[Node, ...], None], Node, Union[Node, Tuple[Node, ...], None]]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib/store.py:357: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[Union[Node, Tuple[Node, ...], None], None, Union[Node, Tuple[Node, ...], None]]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib/parser.py:136: error: Unused "type: ignore" comment  [unused-ignore]
rdflib/graph.py:702: error: Unused "type: ignore" comment  [unused-ignore]
rdflib/graph.py:708: error: Unused "type: ignore" comment  [unused-ignore]
rdflib/graph.py:710: error: Unused "type: ignore" comment  [unused-ignore]
test/test_serializers/test_serializer_longturtle_sort.py: note: In function "test_sort_semiblank_graph":
test/test_serializers/test_serializer_longturtle_sort.py:31: error: "defaultdict" is not subscriptable, use "typing.DefaultDict" instead  [misc]
test/test_serializers/test_serializer_longturtle_sort.py:47: error: "list" is not subscriptable, use "typing.List" instead  [misc]
test/test_serializers/test_serializer_longturtle_sort.py:53: error: "list" is not subscriptable, use "typing.List" instead  [misc]
rdflib/plugins/serializers/turtle.py: note: In member "orderSubjects" of class "RecursiveSerializer":
rdflib/plugins/serializers/turtle.py:75: error: All overload variants of "sort" of "list" require at least one argument  [call-overload]
rdflib/plugins/serializers/turtle.py:75: note: Possible overload variant:
rdflib/plugins/serializers/turtle.py:75: note:     def sort(self, *, key: Callable[[Node], Union[SupportsDunderLT[Any], SupportsDunderGT[Any]]], reverse: bool = ...) -> None
rdflib/plugins/serializers/turtle.py: note: In member "sortProperties" of class "RecursiveSerializer":
rdflib/plugins/serializers/turtle.py:142: error: All overload variants of "sort" of "list" require at least one argument  [call-overload]
rdflib/plugins/serializers/turtle.py:142: note: Possible overload variant:
rdflib/plugins/serializers/turtle.py:142: note:     def sort(self, *, key: Callable[[Node], Union[SupportsDunderLT[Any], SupportsDunderGT[Any]]], reverse: bool = ...) -> None
rdflib/plugins/serializers/turtle.py:152: error: All overload variants of "sort" of "list" require at least one argument  [call-overload]
rdflib/plugins/serializers/turtle.py:152: note: Possible overload variant:
rdflib/plugins/serializers/turtle.py:152: note:     def sort(self, *, key: Callable[[Node], Union[SupportsDunderLT[Any], SupportsDunderGT[Any]]], reverse: bool = ...) -> None

Check failure on line 0 in 3.11-ubuntu-latest-mypy-junit.xml

See this annotation in the file changed.

@github-actions github-actions / mypy report

mypy ► mypy-py3_8-linux

Failed test found in:
  3.11-ubuntu-latest-mypy-junit.xml
Error:
  rdflib/store.py: note: In member "triples_choices" of class "Store":
Raw output
rdflib/store.py: note: In member "triples_choices" of class "Store":
rdflib/store.py:325: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[Union[Node, Tuple[Node, ...], None], Union[Node, Tuple[Node, ...]], Node]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib/store.py:330: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[Union[Node, Tuple[Node, ...], None], Union[Node, Tuple[Node, ...]], None]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib/store.py:339: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[Node, Union[Node, Tuple[Node, ...]], Union[Node, Tuple[Node, ...], None]]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib/store.py:344: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[None, Union[Node, Tuple[Node, ...]], Union[Node, Tuple[Node, ...], None]]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib/store.py:353: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[Union[Node, Tuple[Node, ...], None], Node, Union[Node, Tuple[Node, ...], None]]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib/store.py:357: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[Union[Node, Tuple[Node, ...], None], None, Union[Node, Tuple[Node, ...], None]]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib/parser.py:136: error: Unused "type: ignore" comment  [unused-ignore]
rdflib/graph.py:702: error: Unused "type: ignore" comment  [unused-ignore]
rdflib/graph.py:708: error: Unused "type: ignore" comment  [unused-ignore]
rdflib/graph.py:710: error: Unused "type: ignore" comment  [unused-ignore]
test/test_serializers/test_serializer_longturtle_sort.py: note: In function "test_sort_semiblank_graph":
test/test_serializers/test_serializer_longturtle_sort.py:31: error: "defaultdict" is not subscriptable, use "typing.DefaultDict" instead  [misc]
test/test_serializers/test_serializer_longturtle_sort.py:47: error: "list" is not subscriptable, use "typing.List" instead  [misc]
test/test_serializers/test_serializer_longturtle_sort.py:53: error: "list" is not subscriptable, use "typing.List" instead  [misc]
rdflib/plugins/serializers/turtle.py: note: In member "orderSubjects" of class "RecursiveSerializer":
rdflib/plugins/serializers/turtle.py:75: error: All overload variants of "sort" of "list" require at least one argument  [call-overload]
rdflib/plugins/serializers/turtle.py:75: note: Possible overload variant:
rdflib/plugins/serializers/turtle.py:75: note:     def sort(self, *, key: Callable[[Node], Union[SupportsDunderLT[Any], SupportsDunderGT[Any]]], reverse: bool = ...) -> None
rdflib/plugins/serializers/turtle.py: note: In member "sortProperties" of class "RecursiveSerializer":
rdflib/plugins/serializers/turtle.py:142: error: All overload variants of "sort" of "list" require at least one argument  [call-overload]
rdflib/plugins/serializers/turtle.py:142: note: Possible overload variant:
rdflib/plugins/serializers/turtle.py:142: note:     def sort(self, *, key: Callable[[Node], Union[SupportsDunderLT[Any], SupportsDunderGT[Any]]], reverse: bool = ...) -> None
rdflib/plugins/serializers/turtle.py:152: error: All overload variants of "sort" of "list" require at least one argument  [call-overload]
rdflib/plugins/serializers/turtle.py:152: note: Possible overload variant:
rdflib/plugins/serializers/turtle.py:152: note:     def sort(self, *, key: Callable[[Node], Union[SupportsDunderLT[Any], SupportsDunderGT[Any]]], reverse: bool = ...) -> None

Check failure on line 0 in 3.11-windows-latest-mypy-junit.xml

See this annotation in the file changed.

@github-actions github-actions / mypy report

mypy ► mypy-py3_8-win32

Failed test found in:
  3.11-windows-latest-mypy-junit.xml
Error:
  rdflib\store.py: note: In member "triples_choices" of class "Store":
Raw output
rdflib\store.py: note: In member "triples_choices" of class "Store":
rdflib\store.py:325: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[Union[Node, Tuple[Node, ...], None], Union[Node, Tuple[Node, ...]], Node]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib\store.py:330: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[Union[Node, Tuple[Node, ...], None], Union[Node, Tuple[Node, ...]], None]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib\store.py:339: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[Node, Union[Node, Tuple[Node, ...]], Union[Node, Tuple[Node, ...], None]]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib\store.py:344: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[None, Union[Node, Tuple[Node, ...]], Union[Node, Tuple[Node, ...], None]]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib\store.py:353: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[Union[Node, Tuple[Node, ...], None], Node, Union[Node, Tuple[Node, ...], None]]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib\store.py:357: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[Union[Node, Tuple[Node, ...], None], None, Union[Node, Tuple[Node, ...], None]]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib\parser.py:136: error: Unused "type: ignore" comment  [unused-ignore]
rdflib\graph.py:702: error: Unused "type: ignore" comment  [unused-ignore]
rdflib\graph.py:708: error: Unused "type: ignore" comment  [unused-ignore]
rdflib\graph.py:710: error: Unused "type: ignore" comment  [unused-ignore]
test\test_serializers\test_serializer_longturtle_sort.py: note: In function "test_sort_semiblank_graph":
test\test_serializers\test_serializer_longturtle_sort.py:31: error: "defaultdict" is not subscriptable, use "typing.DefaultDict" instead  [misc]
test\test_serializers\test_serializer_longturtle_sort.py:47: error: "list" is not subscriptable, use "typing.List" instead  [misc]
test\test_serializers\test_serializer_longturtle_sort.py:53: error: "list" is not subscriptable, use "typing.List" instead  [misc]
rdflib\plugins\serializers\turtle.py: note: In member "orderSubjects" of class "RecursiveSerializer":
rdflib\plugins\serializers\turtle.py:75: error: All overload variants of "sort" of "list" require at least one argument  [call-overload]
rdflib\plugins\serializers\turtle.py:75: note: Possible overload variant:
rdflib\plugins\serializers\turtle.py:75: note:     def sort(self, *, key: Callable[[Node], Union[SupportsDunderLT[Any], SupportsDunderGT[Any]]], reverse: bool = ...) -> None
rdflib\plugins\serializers\turtle.py: note: In member "sortProperties" of class "RecursiveSerializer":
rdflib\plugins\serializers\turtle.py:142: error: All overload variants of "sort" of "list" require at least one argument  [call-overload]
rdflib\plugins\serializers\turtle.py:142: note: Possible overload variant:
rdflib\plugins\serializers\turtle.py:142: note:     def sort(self, *, key: Callable[[Node], Union[SupportsDunderLT[Any], SupportsDunderGT[Any]]], reverse: bool = ...) -> None
rdflib\plugins\serializers\turtle.py:152: error: All overload variants of "sort" of "list" require at least one argument  [call-overload]
rdflib\plugins\serializers\turtle.py:152: note: Possible overload variant:
rdflib\plugins\serializers\turtle.py:152: note:     def sort(self, *, key: Callable[[Node], Union[SupportsDunderLT[Any], SupportsDunderGT[Any]]], reverse: bool = ...) -> None

Check failure on line 0 in 3.8-macos-latest-mypy-junit.xml

See this annotation in the file changed.

@github-actions github-actions / mypy report

mypy ► mypy-py3_8-darwin

Failed test found in:
  3.8-macos-latest-mypy-junit.xml
Error:
  rdflib/store.py: note: In member "triples_choices" of class "Store":
Raw output
rdflib/store.py: note: In member "triples_choices" of class "Store":
rdflib/store.py:325: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[Union[Node, Tuple[Node, ...], None], Union[Node, Tuple[Node, ...]], Node]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib/store.py:330: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[Union[Node, Tuple[Node, ...], None], Union[Node, Tuple[Node, ...]], None]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib/store.py:339: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[Node, Union[Node, Tuple[Node, ...]], Union[Node, Tuple[Node, ...], None]]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib/store.py:344: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[None, Union[Node, Tuple[Node, ...]], Union[Node, Tuple[Node, ...], None]]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib/store.py:353: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[Union[Node, Tuple[Node, ...], None], Node, Union[Node, Tuple[Node, ...], None]]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib/store.py:357: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[Union[Node, Tuple[Node, ...], None], None, Union[Node, Tuple[Node, ...], None]]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib/parser.py:136: error: Unused "type: ignore" comment  [unused-ignore]
rdflib/graph.py:702: error: Unused "type: ignore" comment  [unused-ignore]
rdflib/graph.py:708: error: Unused "type: ignore" comment  [unused-ignore]
rdflib/graph.py:710: error: Unused "type: ignore" comment  [unused-ignore]
test/test_serializers/test_serializer_longturtle_sort.py: note: In function "test_sort_semiblank_graph":
test/test_serializers/test_serializer_longturtle_sort.py:31: error: "defaultdict" is not subscriptable, use "typing.DefaultDict" instead  [misc]
test/test_serializers/test_serializer_longturtle_sort.py:47: error: "list" is not subscriptable, use "typing.List" instead  [misc]
test/test_serializers/test_serializer_longturtle_sort.py:53: error: "list" is not subscriptable, use "typing.List" instead  [misc]
rdflib/plugins/serializers/turtle.py: note: In member "orderSubjects" of class "RecursiveSerializer":
rdflib/plugins/serializers/turtle.py:75: error: All overload variants of "sort" of "list" require at least one argument  [call-overload]
rdflib/plugins/serializers/turtle.py:75: note: Possible overload variant:
rdflib/plugins/serializers/turtle.py:75: note:     def sort(self, *, key: Callable[[Node], Union[SupportsDunderLT[Any], SupportsDunderGT[Any]]], reverse: bool = ...) -> None
rdflib/plugins/serializers/turtle.py: note: In member "sortProperties" of class "RecursiveSerializer":
rdflib/plugins/serializers/turtle.py:142: error: All overload variants of "sort" of "list" require at least one argument  [call-overload]
rdflib/plugins/serializers/turtle.py:142: note: Possible overload variant:
rdflib/plugins/serializers/turtle.py:142: note:     def sort(self, *, key: Callable[[Node], Union[SupportsDunderLT[Any], SupportsDunderGT[Any]]], reverse: bool = ...) -> None
rdflib/plugins/serializers/turtle.py:152: error: All overload variants of "sort" of "list" require at least one argument  [call-overload]
rdflib/plugins/serializers/turtle.py:152: note: Possible overload variant:
rdflib/plugins/serializers/turtle.py:152: note:     def sort(self, *, key: Callable[[Node], Union[SupportsDunderLT[Any], SupportsDunderGT[Any]]], reverse: bool = ...) -> None

Check failure on line 0 in 3.8-ubuntu-latest-mypy-junit.xml

See this annotation in the file changed.

@github-actions github-actions / mypy report

mypy ► mypy-py3_8-linux

Failed test found in:
  3.8-ubuntu-latest-mypy-junit.xml
Error:
  rdflib/store.py: note: In member "triples_choices" of class "Store":
Raw output
rdflib/store.py: note: In member "triples_choices" of class "Store":
rdflib/store.py:325: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[Union[Node, Tuple[Node, ...], None], Union[Node, Tuple[Node, ...]], Node]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib/store.py:330: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[Union[Node, Tuple[Node, ...], None], Union[Node, Tuple[Node, ...]], None]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib/store.py:339: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[Node, Union[Node, Tuple[Node, ...]], Union[Node, Tuple[Node, ...], None]]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib/store.py:344: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[None, Union[Node, Tuple[Node, ...]], Union[Node, Tuple[Node, ...], None]]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib/store.py:353: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[Union[Node, Tuple[Node, ...], None], Node, Union[Node, Tuple[Node, ...], None]]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib/store.py:357: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[Union[Node, Tuple[Node, ...], None], None, Union[Node, Tuple[Node, ...], None]]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib/parser.py:136: error: Unused "type: ignore" comment  [unused-ignore]
rdflib/graph.py:702: error: Unused "type: ignore" comment  [unused-ignore]
rdflib/graph.py:708: error: Unused "type: ignore" comment  [unused-ignore]
rdflib/graph.py:710: error: Unused "type: ignore" comment  [unused-ignore]
test/test_serializers/test_serializer_longturtle_sort.py: note: In function "test_sort_semiblank_graph":
test/test_serializers/test_serializer_longturtle_sort.py:31: error: "defaultdict" is not subscriptable, use "typing.DefaultDict" instead  [misc]
test/test_serializers/test_serializer_longturtle_sort.py:47: error: "list" is not subscriptable, use "typing.List" instead  [misc]
test/test_serializers/test_serializer_longturtle_sort.py:53: error: "list" is not subscriptable, use "typing.List" instead  [misc]
rdflib/plugins/serializers/turtle.py: note: In member "orderSubjects" of class "RecursiveSerializer":
rdflib/plugins/serializers/turtle.py:75: error: All overload variants of "sort" of "list" require at least one argument  [call-overload]
rdflib/plugins/serializers/turtle.py:75: note: Possible overload variant:
rdflib/plugins/serializers/turtle.py:75: note:     def sort(self, *, key: Callable[[Node], Union[SupportsDunderLT[Any], SupportsDunderGT[Any]]], reverse: bool = ...) -> None
rdflib/plugins/serializers/turtle.py: note: In member "sortProperties" of class "RecursiveSerializer":
rdflib/plugins/serializers/turtle.py:142: error: All overload variants of "sort" of "list" require at least one argument  [call-overload]
rdflib/plugins/serializers/turtle.py:142: note: Possible overload variant:
rdflib/plugins/serializers/turtle.py:142: note:     def sort(self, *, key: Callable[[Node], Union[SupportsDunderLT[Any], SupportsDunderGT[Any]]], reverse: bool = ...) -> None
rdflib/plugins/serializers/turtle.py:152: error: All overload variants of "sort" of "list" require at least one argument  [call-overload]
rdflib/plugins/serializers/turtle.py:152: note: Possible overload variant:
rdflib/plugins/serializers/turtle.py:152: note:     def sort(self, *, key: Callable[[Node], Union[SupportsDunderLT[Any], SupportsDunderGT[Any]]], reverse: bool = ...) -> None

Check failure on line 0 in 3.8-windows-latest-mypy-junit.xml

See this annotation in the file changed.

@github-actions github-actions / mypy report

mypy ► mypy-py3_8-win32

Failed test found in:
  3.8-windows-latest-mypy-junit.xml
Error:
  rdflib\store.py: note: In member "triples_choices" of class "Store":
Raw output
rdflib\store.py: note: In member "triples_choices" of class "Store":
rdflib\store.py:325: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[Union[Node, Tuple[Node, ...], None], Union[Node, Tuple[Node, ...]], Node]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib\store.py:330: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[Union[Node, Tuple[Node, ...], None], Union[Node, Tuple[Node, ...]], None]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib\store.py:339: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[Node, Union[Node, Tuple[Node, ...]], Union[Node, Tuple[Node, ...], None]]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib\store.py:344: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[None, Union[Node, Tuple[Node, ...]], Union[Node, Tuple[Node, ...], None]]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib\store.py:353: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[Union[Node, Tuple[Node, ...], None], Node, Union[Node, Tuple[Node, ...], None]]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib\store.py:357: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[Union[Node, Tuple[Node, ...], None], None, Union[Node, Tuple[Node, ...], None]]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib\parser.py:136: error: Unused "type: ignore" comment  [unused-ignore]
rdflib\graph.py:702: error: Unused "type: ignore" comment  [unused-ignore]
rdflib\graph.py:708: error: Unused "type: ignore" comment  [unused-ignore]
rdflib\graph.py:710: error: Unused "type: ignore" comment  [unused-ignore]
test\test_serializers\test_serializer_longturtle_sort.py: note: In function "test_sort_semiblank_graph":
test\test_serializers\test_serializer_longturtle_sort.py:31: error: "defaultdict" is not subscriptable, use "typing.DefaultDict" instead  [misc]
test\test_serializers\test_serializer_longturtle_sort.py:47: error: "list" is not subscriptable, use "typing.List" instead  [misc]
test\test_serializers\test_serializer_longturtle_sort.py:53: error: "list" is not subscriptable, use "typing.List" instead  [misc]
rdflib\plugins\serializers\turtle.py: note: In member "orderSubjects" of class "RecursiveSerializer":
rdflib\plugins\serializers\turtle.py:75: error: All overload variants of "sort" of "list" require at least one argument  [call-overload]
rdflib\plugins\serializers\turtle.py:75: note: Possible overload variant:
rdflib\plugins\serializers\turtle.py:75: note:     def sort(self, *, key: Callable[[Node], Union[SupportsDunderLT[Any], SupportsDunderGT[Any]]], reverse: bool = ...) -> None
rdflib\plugins\serializers\turtle.py: note: In member "sortProperties" of class "RecursiveSerializer":
rdflib\plugins\serializers\turtle.py:142: error: All overload variants of "sort" of "list" require at least one argument  [call-overload]
rdflib\plugins\serializers\turtle.py:142: note: Possible overload variant:
rdflib\plugins\serializers\turtle.py:142: note:     def sort(self, *, key: Callable[[Node], Union[SupportsDunderLT[Any], SupportsDunderGT[Any]]], reverse: bool = ...) -> None
rdflib\plugins\serializers\turtle.py:152: error: All overload variants of "sort" of "list" require at least one argument  [call-overload]
rdflib\plugins\serializers\turtle.py:152: note: Possible overload variant:
rdflib\plugins\serializers\turtle.py:152: note:     def sort(self, *, key: Callable[[Node], Union[SupportsDunderLT[Any], SupportsDunderGT[Any]]], reverse: bool = ...) -> None

Check failure on line 0 in 3.9-macos-latest-mypy-junit.xml

See this annotation in the file changed.

@github-actions github-actions / mypy report

mypy ► mypy-py3_8-darwin

Failed test found in:
  3.9-macos-latest-mypy-junit.xml
Error:
  rdflib/store.py: note: In member "triples_choices" of class "Store":
Raw output
rdflib/store.py: note: In member "triples_choices" of class "Store":
rdflib/store.py:325: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[Union[Node, Tuple[Node, ...], None], Union[Node, Tuple[Node, ...]], Node]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib/store.py:330: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[Union[Node, Tuple[Node, ...], None], Union[Node, Tuple[Node, ...]], None]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib/store.py:339: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[Node, Union[Node, Tuple[Node, ...]], Union[Node, Tuple[Node, ...], None]]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib/store.py:344: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[None, Union[Node, Tuple[Node, ...]], Union[Node, Tuple[Node, ...], None]]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib/store.py:353: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[Union[Node, Tuple[Node, ...], None], Node, Union[Node, Tuple[Node, ...], None]]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib/store.py:357: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[Union[Node, Tuple[Node, ...], None], None, Union[Node, Tuple[Node, ...], None]]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib/parser.py:136: error: Unused "type: ignore" comment  [unused-ignore]
rdflib/graph.py:702: error: Unused "type: ignore" comment  [unused-ignore]
rdflib/graph.py:708: error: Unused "type: ignore" comment  [unused-ignore]
rdflib/graph.py:710: error: Unused "type: ignore" comment  [unused-ignore]
test/test_serializers/test_serializer_longturtle_sort.py: note: In function "test_sort_semiblank_graph":
test/test_serializers/test_serializer_longturtle_sort.py:31: error: "defaultdict" is not subscriptable, use "typing.DefaultDict" instead  [misc]
test/test_serializers/test_serializer_longturtle_sort.py:47: error: "list" is not subscriptable, use "typing.List" instead  [misc]
test/test_serializers/test_serializer_longturtle_sort.py:53: error: "list" is not subscriptable, use "typing.List" instead  [misc]
rdflib/plugins/serializers/turtle.py: note: In member "orderSubjects" of class "RecursiveSerializer":
rdflib/plugins/serializers/turtle.py:75: error: All overload variants of "sort" of "list" require at least one argument  [call-overload]
rdflib/plugins/serializers/turtle.py:75: note: Possible overload variant:
rdflib/plugins/serializers/turtle.py:75: note:     def sort(self, *, key: Callable[[Node], Union[SupportsDunderLT[Any], SupportsDunderGT[Any]]], reverse: bool = ...) -> None
rdflib/plugins/serializers/turtle.py: note: In member "sortProperties" of class "RecursiveSerializer":
rdflib/plugins/serializers/turtle.py:142: error: All overload variants of "sort" of "list" require at least one argument  [call-overload]
rdflib/plugins/serializers/turtle.py:142: note: Possible overload variant:
rdflib/plugins/serializers/turtle.py:142: note:     def sort(self, *, key: Callable[[Node], Union[SupportsDunderLT[Any], SupportsDunderGT[Any]]], reverse: bool = ...) -> None
rdflib/plugins/serializers/turtle.py:152: error: All overload variants of "sort" of "list" require at least one argument  [call-overload]
rdflib/plugins/serializers/turtle.py:152: note: Possible overload variant:
rdflib/plugins/serializers/turtle.py:152: note:     def sort(self, *, key: Callable[[Node], Union[SupportsDunderLT[Any], SupportsDunderGT[Any]]], reverse: bool = ...) -> None

Check failure on line 0 in 3.9-ubuntu-latest-mypy-junit.xml

See this annotation in the file changed.

@github-actions github-actions / mypy report

mypy ► mypy-py3_8-linux

Failed test found in:
  3.9-ubuntu-latest-mypy-junit.xml
Error:
  rdflib/store.py: note: In member "triples_choices" of class "Store":
Raw output
rdflib/store.py: note: In member "triples_choices" of class "Store":
rdflib/store.py:325: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[Union[Node, Tuple[Node, ...], None], Union[Node, Tuple[Node, ...]], Node]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib/store.py:330: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[Union[Node, Tuple[Node, ...], None], Union[Node, Tuple[Node, ...]], None]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib/store.py:339: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[Node, Union[Node, Tuple[Node, ...]], Union[Node, Tuple[Node, ...], None]]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib/store.py:344: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[None, Union[Node, Tuple[Node, ...]], Union[Node, Tuple[Node, ...], None]]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib/store.py:353: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[Union[Node, Tuple[Node, ...], None], Node, Union[Node, Tuple[Node, ...], None]]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib/store.py:357: error: Argument 1 to "triples" of "Store" has incompatible type "Tuple[Union[Node, Tuple[Node, ...], None], None, Union[Node, Tuple[Node, ...], None]]"; expected "Tuple[Optional[Node], Optional[Node], Optional[Node]]"  [arg-type]
rdflib/parser.py:136: error: Unused "type: ignore" comment  [unused-ignore]
rdflib/graph.py:702: error: Unused "type: ignore" comment  [unused-ignore]
rdflib/graph.py:708: error: Unused "type: ignore" comment  [unused-ignore]
rdflib/graph.py:710: error: Unused "type: ignore" comment  [unused-ignore]
test/test_serializers/test_serializer_longturtle_sort.py: note: In function "test_sort_semiblank_graph":
test/test_serializers/test_serializer_longturtle_sort.py:31: error: "defaultdict" is not subscriptable, use "typing.DefaultDict" instead  [misc]
test/test_serializers/test_serializer_longturtle_sort.py:47: error: "list" is not subscriptable, use "typing.List" instead  [misc]
test/test_serializers/test_serializer_longturtle_sort.py:53: error: "list" is not subscriptable, use "typing.List" instead  [misc]
rdflib/plugins/serializers/turtle.py: note: In member "orderSubjects" of class "RecursiveSerializer":
rdflib/plugins/serializers/turtle.py:75: error: All overload variants of "sort" of "list" require at least one argument  [call-overload]
rdflib/plugins/serializers/turtle.py:75: note: Possible overload variant:
rdflib/plugins/serializers/turtle.py:75: note:     def sort(self, *, key: Callable[[Node], Union[SupportsDunderLT[Any], SupportsDunderGT[Any]]], reverse: bool = ...) -> None
rdflib/plugins/serializers/turtle.py: note: In member "sortProperties" of class "RecursiveSerializer":
rdflib/plugins/serializers/turtle.py:142: error: All overload variants of "sort" of "list" require at least one argument  [call-overload]
rdflib/plugins/serializers/turtle.py:142: note: Possible overload variant:
rdflib/plugins/serializers/turtle.py:142: note:     def sort(self, *, key: Callable[[Node], Union[SupportsDunderLT[Any], SupportsDunderGT[Any]]], reverse: bool = ...) -> None
rdflib/plugins/serializers/turtle.py:152: error: All overload variants of "sort" of "list" require at least one argument  [call-overload]
rdflib/plugins/serializers/turtle.py:152: note: Possible overload variant:
rdflib/plugins/serializers/turtle.py:152: note:     def sort(self, *, key: Callable[[Node], Union[SupportsDunderLT[Any], SupportsDunderGT[Any]]], reverse: bool = ...) -> None