Skip to content

refactor: don't use the same variable name for different types #2651

refactor: don't use the same variable name for different types

refactor: don't use the same variable name for different types #2651

GitHub Actions / mypy report succeeded Aug 10, 2023 in 1s

mypy report ✅

Tests failed

Report Passed Failed Skipped Time
3.10-macos-latest-mypy-junit.xml 1❌ 15s
3.10-ubuntu-latest-mypy-junit.xml 1❌ 11s
3.10-windows-latest-mypy-junit.xml 1❌ 19s
3.11-macos-latest-mypy-junit.xml 1❌ 15s
3.11-ubuntu-latest-mypy-junit.xml 1❌ 14s
3.11-windows-latest-mypy-junit.xml 1❌ 13s
3.8-macos-latest-mypy-junit.xml 1❌ 16s
3.8-ubuntu-latest-min-mypy-junit.xml 1❌ 11s
3.8-ubuntu-latest-mypy-junit.xml 1❌ 11s
3.8-windows-latest-mypy-junit.xml 1❌ 13s
3.9-macos-latest-mypy-junit.xml 1❌ 20s
3.9-ubuntu-latest-mypy-junit.xml 1❌ 15s
3.9-windows-latest-mypy-junit.xml 1❌ 17s

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

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

Test suite Passed Failed Skipped Time
mypy 1❌ 15s

❌ mypy

❌ mypy-py3_8-darwin
	rdflib/collection.py: note: In member "clear" of class "Collection":

❌ 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/collection.py: note: In member "clear" of class "Collection":

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

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

Test suite Passed Failed Skipped Time
mypy 1❌ 19s

❌ mypy

❌ mypy-py3_8-win32
	rdflib\collection.py: note: In member "clear" of class "Collection":

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

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

Test suite Passed Failed Skipped Time
mypy 1❌ 15s

❌ mypy

❌ mypy-py3_8-darwin
	rdflib/collection.py: note: In member "clear" of class "Collection":

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

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

Test suite Passed Failed Skipped Time
mypy 1❌ 14s

❌ mypy

❌ mypy-py3_8-linux
	rdflib/collection.py: note: In member "clear" of class "Collection":

❌ 3.11-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\collection.py: note: In member "clear" of class "Collection":

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

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

Test suite Passed Failed Skipped Time
mypy 1❌ 16s

❌ mypy

❌ mypy-py3_8-darwin
	rdflib/collection.py: note: In member "clear" of class "Collection":

❌ 3.8-ubuntu-latest-min-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/collection.py: note: In member "clear" of class "Collection":

❌ 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/collection.py: note: In member "clear" of class "Collection":

❌ 3.8-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\collection.py: note: In member "clear" of class "Collection":

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

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

Test suite Passed Failed Skipped Time
mypy 1❌ 20s

❌ mypy

❌ mypy-py3_8-darwin
	rdflib/collection.py: note: In member "clear" of class "Collection":

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

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

Test suite Passed Failed Skipped Time
mypy 1❌ 15s

❌ mypy

❌ mypy-py3_8-linux
	rdflib/collection.py: note: In member "clear" of class "Collection":

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

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

Test suite Passed Failed Skipped Time
mypy 1❌ 17s

❌ mypy

❌ mypy-py3_8-win32
	rdflib\collection.py: note: In member "clear" of class "Collection":

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/collection.py: note: In member "clear" of class "Collection":
Raw output
rdflib/collection.py: note: In member "clear" of class "Collection":
rdflib/collection.py:262: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]

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/collection.py: note: In member "clear" of class "Collection":
Raw output
rdflib/collection.py: note: In member "clear" of class "Collection":
rdflib/collection.py:262: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]

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\collection.py: note: In member "clear" of class "Collection":
Raw output
rdflib\collection.py: note: In member "clear" of class "Collection":
rdflib\collection.py:262: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]

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/collection.py: note: In member "clear" of class "Collection":
Raw output
rdflib/collection.py: note: In member "clear" of class "Collection":
rdflib/collection.py:262: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]

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/collection.py: note: In member "clear" of class "Collection":
Raw output
rdflib/collection.py: note: In member "clear" of class "Collection":
rdflib/collection.py:262: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]

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\collection.py: note: In member "clear" of class "Collection":
Raw output
rdflib\collection.py: note: In member "clear" of class "Collection":
rdflib\collection.py:262: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]

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/collection.py: note: In member "clear" of class "Collection":
Raw output
rdflib/collection.py: note: In member "clear" of class "Collection":
rdflib/collection.py:262: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]

Check failure on line 0 in 3.8-ubuntu-latest-min-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-min-mypy-junit.xml
Error:
  rdflib/collection.py: note: In member "clear" of class "Collection":
Raw output
rdflib/collection.py: note: In member "clear" of class "Collection":
rdflib/collection.py:262: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]

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/collection.py: note: In member "clear" of class "Collection":
Raw output
rdflib/collection.py: note: In member "clear" of class "Collection":
rdflib/collection.py:262: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]

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\collection.py: note: In member "clear" of class "Collection":
Raw output
rdflib\collection.py: note: In member "clear" of class "Collection":
rdflib\collection.py:262: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]

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/collection.py: note: In member "clear" of class "Collection":
Raw output
rdflib/collection.py: note: In member "clear" of class "Collection":
rdflib/collection.py:262: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]