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

Sanitize type annotations in cirq.sim #4773

Merged
merged 3 commits into from
Dec 21, 2021

Conversation

daxfohl
Copy link
Collaborator

@daxfohl daxfohl commented Dec 21, 2021

There was an issue where docs were not showing types if they were not annotated in the 'cirq.MyType' style. I went through cirq.sim and fixed all the ones I noticed.

I also went ahead and fixed value.MeasurementKey across the whole project, since that was a very common one.

@daxfohl daxfohl requested review from cduck, vtomole and a team as code owners December 21, 2021 19:30
@CirqBot CirqBot added the size: L 250< lines changed <1000 label Dec 21, 2021
Copy link
Collaborator

@95-martin-orion 95-martin-orion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 to consistent styling across the repo.

@95-martin-orion 95-martin-orion merged commit e9b6258 into quantumlib:master Dec 21, 2021
@vtomole
Copy link
Collaborator

vtomole commented Dec 21, 2021

Tagging: Tagging: #4383

@daxfohl daxfohl deleted the cirqdot branch December 21, 2021 21:47
@daxfohl
Copy link
Collaborator Author

daxfohl commented Dec 21, 2021

Also tagging #4657

MichaelBroughton pushed a commit to MichaelBroughton/Cirq that referenced this pull request Jan 22, 2022
* Sanitize type annotations in cirq.sim

* keys
rht pushed a commit to rht/Cirq that referenced this pull request May 1, 2023
* Sanitize type annotations in cirq.sim

* keys
harry-phasecraft pushed a commit to PhaseCraft/Cirq that referenced this pull request Oct 31, 2024
* Sanitize type annotations in cirq.sim

* keys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: L 250< lines changed <1000
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants