Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

[Merged by Bors] - chore(*): removed unneeded imports#18926

Closed
kim-em wants to merge 20 commits intomasterfrom
reduce_imports
Closed

[Merged by Bors] - chore(*): removed unneeded imports#18926
kim-em wants to merge 20 commits intomasterfrom
reduce_imports

Conversation

@kim-em
Copy link
Copy Markdown
Collaborator

@kim-em kim-em commented May 3, 2023

This is another run of #17568, scrubbing unnecessary imports.

Like last time we only remove genuinely unneeded imports, and leave merely transitively redundant imports alone.

(I still disagree with the objectors to removing transitively redundant imports --- they are of minuscule value, and make it much harder to do this sort of import cleanup.)

Unfortunately this will conflict badly with @loefflerd's #18914, sorry. :-(


Open in Gitpod

@github-actions github-actions bot added the modifies-synchronized-file This PR touches a files that has already been ported to mathlib4, and may need a synchronization PR. label May 3, 2023
@kim-em kim-em removed the modifies-synchronized-file This PR touches a files that has already been ported to mathlib4, and may need a synchronization PR. label May 3, 2023
@github-actions github-actions bot added the modifies-synchronized-file This PR touches a files that has already been ported to mathlib4, and may need a synchronization PR. label May 3, 2023
@kim-em kim-em added awaiting-review The author would like community review of the PR awaiting-CI The author would like to see what CI has to say before doing more work. and removed modifies-synchronized-file This PR touches a files that has already been ported to mathlib4, and may need a synchronization PR. labels May 3, 2023
@kim-em kim-em marked this pull request as ready for review May 3, 2023 12:08
@kim-em kim-em requested review from a team as code owners May 3, 2023 12:08
Copy link
Copy Markdown
Member

@eric-wieser eric-wieser left a comment

Choose a reason for hiding this comment

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

LGTM

bors d+

pending discussion on Zulip

@bors
Copy link
Copy Markdown

bors bot commented May 3, 2023

✌️ semorrison can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

@leanprover-community-bot-assistant leanprover-community-bot-assistant added the delegated The PR author may merge after reviewing final suggestions. label May 3, 2023
@leanprover-community-bot-assistant leanprover-community-bot-assistant removed the awaiting-review The author would like community review of the PR label May 3, 2023
Comment on lines 7 to 9
import analysis.inner_product_space.basic

import analysis.inner_product_space.basic
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

this looks wrong

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Fixed

@loefflerd loefflerd added awaiting-author A reviewer has asked the author a question or requested changes and removed awaiting-CI The author would like to see what CI has to say before doing more work. labels May 3, 2023
@loefflerd
Copy link
Copy Markdown
Collaborator

loefflerd commented May 3, 2023

Looks like you have a failure in test/ (EDIT: now seems to be OK)

@kim-em
Copy link
Copy Markdown
Collaborator Author

kim-em commented May 3, 2023

bors p=10

Remove duplicate
Copy link
Copy Markdown
Member

@eric-wieser eric-wieser left a comment

Choose a reason for hiding this comment

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

bors merge p=10

@leanprover-community-bot-assistant leanprover-community-bot-assistant added ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) and removed awaiting-author A reviewer has asked the author a question or requested changes labels May 3, 2023
bors bot pushed a commit that referenced this pull request May 3, 2023
This is another run of #17568, scrubbing unnecessary imports.

Like last time we only remove genuinely unneeded imports, and leave merely transitively redundant imports alone.

(I *still* disagree with the objectors to removing transitively redundant imports 

Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
@bors
Copy link
Copy Markdown

bors bot commented May 3, 2023

Build failed:

@kim-em
Copy link
Copy Markdown
Collaborator Author

kim-em commented May 4, 2023

bors merge p=10

bors bot pushed a commit that referenced this pull request May 4, 2023
This is another run of #17568, scrubbing unnecessary imports.

Like last time we only remove genuinely unneeded imports, and leave merely transitively redundant imports alone.

(I *still* disagree with the objectors to removing transitively redundant imports 

Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
@bors
Copy link
Copy Markdown

bors bot commented May 4, 2023

Pull request successfully merged into master.

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@bors bors bot changed the title chore(*): removed unneeded imports [Merged by Bors] - chore(*): removed unneeded imports May 4, 2023
@bors bors bot closed this May 4, 2023
@bors bors bot deleted the reduce_imports branch May 4, 2023 03:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

delegated The PR author may merge after reviewing final suggestions. ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants