-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Sort import statements - no change in the effective code #7195
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
Conversation
Executed check/format-incremental --all --apply Related to quantumlib#4863
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7195 +/- ##
==========================================
- Coverage 98.14% 98.14% -0.01%
==========================================
Files 1100 1100
Lines 96191 96146 -45
==========================================
- Hits 94409 94363 -46
- Misses 1782 1783 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Anything in https://github.com/quantumlib/Cirq/blob/main/docs/dev/development.md or https://github.com/quantumlib/Cirq/blob/main/docs/dev/style.md that should be updated? I didn't see anything offhand for this, but I didn't look that closely. (The type annotations section will have to be updated as part of the unquoting project though.) |
Good question. I have a PR waiting in the wings (#7175) so if any changes are needed, it would be better to coordinate (or merge the PR and then do another set of changes for this issue). |
I took a look just now too. In docs/dev/development.md, I think the text in "Continuous integration and local testing", which mentions using For docs/dev/style.md, I think it would make sense to add some words about sorting imports in the section on 'Import statements". @pavoljuhas I could do that in PR #7175 or you could do that as part of this PR – what would be best? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, with a minor question about whether some text should be added to docs/dev/style.md as part of this PR.
I think it is better to update style.md in a separate PR. Here it would be hidden between 600+ modified files; it is also better to keep this change all tool generated only. Thanks for a quick review! |
@pavoljuhas I added some text to PR #7175, specifically in commit 83cdba6. Hopefully the changes are clear and accurate. |
…7195) Executed check/format-incremental --all --apply Related to quantumlib#4863
Executed check/format-incremental --all --apply
Related to #4863