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

Remove unnecessary casts and type: ignores #5781

Merged
merged 2 commits into from
Jul 15, 2022
Merged

Conversation

maffoo
Copy link
Contributor

@maffoo maffoo commented Jul 15, 2022

Update mypy configuration to fail if there are unnecessary cast calls or type: ignore comments, so that we clean these up rather than accumulating cruft.

@CirqBot CirqBot added the size: L 250< lines changed <1000 label Jul 15, 2022
@maffoo maffoo marked this pull request as ready for review July 15, 2022 23:03
Copy link
Collaborator

@mpharrigan mpharrigan left a comment

Choose a reason for hiding this comment

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

nice!

@maffoo maffoo added the automerge Tells CirqBot to sync and merge this PR. (If it's running.) label Jul 15, 2022
@CirqBot CirqBot added the front_of_queue_automerge CirqBot uses this label to indicate (and remember) what's being merged next. label Jul 15, 2022
@CirqBot CirqBot merged commit bc1e2d3 into master Jul 15, 2022
@CirqBot CirqBot removed the automerge Tells CirqBot to sync and merge this PR. (If it's running.) label Jul 15, 2022
@CirqBot CirqBot deleted the u/maffoo/mypy-options branch July 15, 2022 23:36
@CirqBot CirqBot removed the front_of_queue_automerge CirqBot uses this label to indicate (and remember) what's being merged next. label Jul 15, 2022
rht pushed a commit to rht/Cirq that referenced this pull request May 1, 2023
Update mypy configuration to fail if there are unnecessary `cast` calls or `type: ignore` comments, so that we clean these up rather than accumulating cruft.
harry-phasecraft pushed a commit to PhaseCraft/Cirq that referenced this pull request Oct 31, 2024
Update mypy configuration to fail if there are unnecessary `cast` calls or `type: ignore` comments, so that we clean these up rather than accumulating cruft.
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.

3 participants