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

WIP: allow sphinx-autodoc-typehints to be upgraded to 2.3.x on Python 3.9+ #2913

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Allow upgrading sphinx-autodoc-hints to 2.3.x on Python 3.9+

9f30985
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Draft

WIP: allow sphinx-autodoc-typehints to be upgraded to 2.3.x on Python 3.9+ #2913

Allow upgrading sphinx-autodoc-hints to 2.3.x on Python 3.9+
9f30985
Select commit
Loading
Failed to load commit list.
GitHub Actions / mypy report succeeded Oct 21, 2024 in 0s

0 passed, 12 failed and 0 skipped

Tests failed

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

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

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

Test suite Passed Failed Skipped Time
mypy 1❌ 9s

❌ mypy

❌ mypy-py3_8-darwin
	rdflib/parser.py:136: error: Unused "type: ignore" comment  [unused-ignore]

❌ 3.10-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/parser.py:136: error: Unused "type: ignore" comment  [unused-ignore]

❌ 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\parser.py:136: error: Unused "type: ignore" comment  [unused-ignore]

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

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

Test suite Passed Failed Skipped Time
mypy 1❌ 7s

❌ mypy

❌ mypy-py3_8-darwin
	rdflib/parser.py:136: error: Unused "type: ignore" comment  [unused-ignore]

❌ 3.11-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/parser.py:136: error: Unused "type: ignore" comment  [unused-ignore]

❌ 3.11-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\parser.py:136: error: Unused "type: ignore" comment  [unused-ignore]

❌ 3.8-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/parser.py:136: error: Unused "type: ignore" comment  [unused-ignore]

❌ 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/parser.py:136: error: Unused "type: ignore" comment  [unused-ignore]

❌ 3.8-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\parser.py:136: error: Unused "type: ignore" comment  [unused-ignore]

❌ 3.9-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/parser.py:136: error: Unused "type: ignore" comment  [unused-ignore]

❌ 3.9-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/parser.py:136: error: Unused "type: ignore" comment  [unused-ignore]

❌ 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\parser.py:136: error: Unused "type: ignore" comment  [unused-ignore]

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/parser.py:136: error: Unused "type: ignore" comment  [unused-ignore]
Raw output
rdflib/parser.py:136: error: Unused "type: ignore" comment  [unused-ignore]
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/parser.py:136: error: Unused "type: ignore" comment  [unused-ignore]
Raw output
rdflib/parser.py:136: error: Unused "type: ignore" comment  [unused-ignore]
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\parser.py:136: error: Unused "type: ignore" comment  [unused-ignore]
Raw output
rdflib\parser.py:136: error: Unused "type: ignore" comment  [unused-ignore]
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/parser.py:136: error: Unused "type: ignore" comment  [unused-ignore]
Raw output
rdflib/parser.py:136: error: Unused "type: ignore" comment  [unused-ignore]
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/parser.py:136: error: Unused "type: ignore" comment  [unused-ignore]
Raw output
rdflib/parser.py:136: error: Unused "type: ignore" comment  [unused-ignore]
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\parser.py:136: error: Unused "type: ignore" comment  [unused-ignore]
Raw output
rdflib\parser.py:136: error: Unused "type: ignore" comment  [unused-ignore]
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/parser.py:136: error: Unused "type: ignore" comment  [unused-ignore]
Raw output
rdflib/parser.py:136: error: Unused "type: ignore" comment  [unused-ignore]
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/parser.py:136: error: Unused "type: ignore" comment  [unused-ignore]
Raw output
rdflib/parser.py:136: error: Unused "type: ignore" comment  [unused-ignore]
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\parser.py:136: error: Unused "type: ignore" comment  [unused-ignore]
Raw output
rdflib\parser.py:136: error: Unused "type: ignore" comment  [unused-ignore]
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/parser.py:136: error: Unused "type: ignore" comment  [unused-ignore]
Raw output
rdflib/parser.py:136: error: Unused "type: ignore" comment  [unused-ignore]
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/parser.py:136: error: Unused "type: ignore" comment  [unused-ignore]
Raw output
rdflib/parser.py:136: error: Unused "type: ignore" comment  [unused-ignore]
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