Fix docs path in snippet test and exclude subdirs#7798
Merged
pavoljuhas merged 5 commits intoquantumlib:mainfrom Dec 11, 2025
Merged
Fix docs path in snippet test and exclude subdirs#7798pavoljuhas merged 5 commits intoquantumlib:mainfrom
pavoljuhas merged 5 commits intoquantumlib:mainfrom
Conversation
ec4b094 to
08b2d49
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7798 +/- ##
=======================================
Coverage 99.57% 99.57%
=======================================
Files 1102 1102
Lines 98434 98529 +95
=======================================
+ Hits 98014 98109 +95
Misses 420 420 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Since test_can_run_docs_code_snippets will run the snippets in markdown, fix the undefined error in the snippets.
Also allow passing snippet paths as Path objects.
Keep cirq working directory clean of test files.
pavoljuhas
approved these changes
Dec 11, 2025
Collaborator
pavoljuhas
left a comment
There was a problem hiding this comment.
LGTM after pushing a few tweaks, mainly to avoid creating scratch test file from testing of serialization.md.
This was referenced Jan 12, 2026
Create an Gateset.__ini__ option to accept classically controlled operations
NoureldinYosri/Cirq#267
Closed
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.
Partially implements #7787