Skip to content

Add Python type annotations - #3467

Merged
Dima Fedoriaka (fedimser) merged 8 commits into
mainfrom
fedimser/mypy-2
Jul 16, 2026
Merged

Add Python type annotations#3467
Dima Fedoriaka (fedimser) merged 8 commits into
mainfrom
fedimser/mypy-2

Conversation

@fedimser

Copy link
Copy Markdown
Contributor

This PR:

  • Requires that all Python functions are annotated with types.
  • Removes all pyright exclusions except qdk/qre (QRE will be annotated in another PR, it currently has 45 errors).
  • Adds all missing type annotations.
  • Adds missing imports to check_requirements.txt (azure-quantum, cirq-core, qiskit).

Comment thread source/qdk_package/qdk/cirq/_neutral_atom.py
Comment thread source/qdk_package/qdk/qiskit/backends/backend_base.py
Comment thread source/qdk_package/qdk/simulation/_simulation.py Outdated
Comment thread source/qdk_package/qdk/_adaptive_pass.py Outdated
@fedimser
Dima Fedoriaka (fedimser) added this pull request to the merge queue Jul 16, 2026
Merged via the queue into main with commit ebe6090 Jul 16, 2026
13 checks passed
@fedimser
Dima Fedoriaka (fedimser) deleted the fedimser/mypy-2 branch July 16, 2026 03:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants