Recommend use of unquoted annotations in coding style guide#7222
Merged
mhucka merged 1 commit intoquantumlib:mainfrom Apr 3, 2025
Merged
Recommend use of unquoted annotations in coding style guide#7222mhucka merged 1 commit intoquantumlib:mainfrom
mhucka merged 1 commit intoquantumlib:mainfrom
Conversation
Revise coding-style advice to prefer unquoted annotations which are enabled by `from __future__ import annotations` Ref: https://peps.python.org/pep-0563/ Related to quantumlib#1999
77d0529 to
37af870
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7222 +/- ##
==========================================
- Coverage 98.14% 98.14% -0.01%
==========================================
Files 1104 1104
Lines 96352 96352
==========================================
- Hits 94569 94563 -6
- Misses 1783 1789 +6 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This was referenced May 30, 2025
BichengYing
pushed a commit
to BichengYing/Cirq
that referenced
this pull request
Jun 20, 2025
…ib#7222) Revise coding-style advice to prefer unquoted annotations which are enabled by `from __future__ import annotations` Ref: https://peps.python.org/pep-0563/ Related to quantumlib#1999
This was referenced Aug 5, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Revise coding-style advice to prefer unquoted annotations which are
enabled by
from __future__ import annotationsRef: https://peps.python.org/pep-0563/
Related to #1999