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

Make implicit Optional type hints in Quantum Engine PEP 484 compliant #6640

Merged
merged 4 commits into from
Jun 7, 2024

Conversation

senecameeks
Copy link
Collaborator

Fixes #6638

@CirqBot CirqBot added the Size: XS <10 lines changed label Jun 7, 2024
@senecameeks senecameeks closed this Jun 7, 2024
@senecameeks senecameeks reopened this Jun 7, 2024
@CirqBot CirqBot added the size: S 10< lines changed <50 label Jun 7, 2024
Copy link

codecov bot commented Jun 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.81%. Comparing base (543d9cd) to head (d14a60d).

Current head d14a60d differs from pull request most recent head db0b9fa

Please upload reports for the commit db0b9fa to get more accurate results.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6640   +/-   ##
=======================================
  Coverage   97.81%   97.81%           
=======================================
  Files        1067     1067           
  Lines       91550    91550           
=======================================
  Hits        89549    89549           
  Misses       2001     2001           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@senecameeks senecameeks marked this pull request as ready for review June 7, 2024 07:50
@senecameeks senecameeks requested review from wcourtney, vtomole, cduck, verult and a team as code owners June 7, 2024 07:50
@senecameeks senecameeks enabled auto-merge (squash) June 7, 2024 07:51
@senecameeks senecameeks merged commit ac3a70f into quantumlib:main Jun 7, 2024
32 checks passed
@maffoo
Copy link
Contributor

maffoo commented Jun 7, 2024

This is generated code, right? Would it help to regenerate it at some point with a newer gapic version?

pavoljuhas pushed a commit to pavoljuhas/Cirq that referenced this pull request Jun 26, 2024
…quantumlib#6640)

* implicit optional type hints PEP 484 compliant

* rm type ignore

* add type ignore back

* mypy
pavoljuhas pushed a commit to pavoljuhas/Cirq that referenced this pull request Jun 26, 2024
…quantumlib#6640)

* implicit optional type hints PEP 484 compliant

* rm type ignore

* add type ignore back

* mypy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: S 10< lines changed <50 Size: XS <10 lines changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Type errors in quantum engine api code
3 participants