We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
qrand\platforms\qiskit\backend.py:45: error: Returning Any from function declared to return "Dict[Any, Any]"
qrand\platforms\qiskit\backend.py:49: error: Returning Any from function declared to return "int"
qrand\platforms\qiskit\backend.py:62: error: Returning Any from function declared to return "int"
qrand\platforms\qiskit\backend.py:71: error: Returning Any from function declared to return "int"
qrand\platforms\qiskit\backend.py:81: error: Returning Any from function declared to return "bool"
qrand\platforms\qiskit\circuit.py:37: error: Returning Any from function declared to return "int"
qrand\_qiskit_bit_generator.py:397: error: Returning Any from function declared to return "Dict[Any, Any]"
qrand\platforms\qsharp\job.py:76: error: unused 'type: ignore' comment
qrand\platforms\qsharp\job.py:99: error: Returning Any from function declared to return "List[str]"
qrand\platforms\qsharp\job.py:103: error: Returning Any from function declared to return "List[str]"
Found 10 errors in 4 files (checked 46 source files)
Steps to reproduce the behavior:
mypy
No type-check error thrown by mypy.
Not applicable.
The text was updated successfully, but these errors were encountered:
Hi @LaurentAjdnik I am unable to reproduce this issue, even on a fresh install. Can you elaborate?
Sorry, something went wrong.
Using these merciless options: 😉
python -m mypy --ignore-missing-imports --warn-return-any --warn-redundant-casts --warn-unused-ignores qrand
fix(type-hints): cast job.execute result in qsharp #26
89913d2
LaurentAjdnik
No branches or pull requests
Describe the bug
qrand\platforms\qiskit\backend.py:45: error: Returning Any from function declared to return "Dict[Any, Any]"
qrand\platforms\qiskit\backend.py:49: error: Returning Any from function declared to return "int"
qrand\platforms\qiskit\backend.py:62: error: Returning Any from function declared to return "int"
qrand\platforms\qiskit\backend.py:71: error: Returning Any from function declared to return "int"
qrand\platforms\qiskit\backend.py:81: error: Returning Any from function declared to return "bool"
qrand\platforms\qiskit\circuit.py:37: error: Returning Any from function declared to return "int"
qrand\_qiskit_bit_generator.py:397: error: Returning Any from function declared to return "Dict[Any, Any]"
qrand\platforms\qsharp\job.py:76: error: unused 'type: ignore' comment
qrand\platforms\qsharp\job.py:99: error: Returning Any from function declared to return "List[str]"
qrand\platforms\qsharp\job.py:103: error: Returning Any from function declared to return "List[str]"
Found 10 errors in 4 files (checked 46 source files)
To Reproduce
Steps to reproduce the behavior:
mypy
on the moduleExpected behavior
No type-check error thrown by
mypy
.Screenshots
Not applicable.
Desktop (please complete the following information):
Additional context
Not applicable.
The text was updated successfully, but these errors were encountered: