Skip to content

chore: trim a few imports and noshake exceptions#12714

Closed
grunweg wants to merge 2 commits intomasterfrom
MR-trim-misc-imports
Closed

chore: trim a few imports and noshake exceptions#12714
grunweg wants to merge 2 commits intomasterfrom
MR-trim-misc-imports

Conversation

@grunweg
Copy link
Copy Markdown
Contributor

@grunweg grunweg commented May 6, 2024

  • remove a bogus import labelled as such (it is not necessary any more)
  • remove a few now-superfluous exceptions from noshake.json.
  • sort imports and remove a transitive import in Data/List/Basic

Open in Gitpod

@grunweg grunweg added awaiting-review awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. labels May 6, 2024
@github-actions github-actions bot removed the awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. label May 6, 2024
@ghost ghost added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label May 7, 2024
@grunweg grunweg removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label May 7, 2024
Copy link
Copy Markdown
Contributor

@Ruben-VandeVelde Ruben-VandeVelde left a comment

Choose a reason for hiding this comment

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

It builds, so it must be good

maintainer merge

@github-actions
Copy link
Copy Markdown

github-actions bot commented May 7, 2024

🚀 Pull request has been placed on the maintainer queue by Ruben-VandeVelde.

@github-actions github-actions bot added the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label May 7, 2024
Copy link
Copy Markdown
Member

@jcommelin jcommelin left a comment

Choose a reason for hiding this comment

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

Thanks 🎉

bors merge

@ghost ghost added ready-to-merge This PR has been sent to bors. and removed awaiting-review labels May 7, 2024
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mario Carneiro
-/
import Mathlib.Algebra.Ring.Hom.Defs -- FIXME: This import is bogus
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Note that Algebra.Ring.Hom.Defs is still imported in Data.Fintype.Basic. You're just hiding the problem.

@sgouezel
Copy link
Copy Markdown
Contributor

sgouezel commented May 7, 2024

bors r-

@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented May 7, 2024

Canceled.

@grunweg
Copy link
Copy Markdown
Contributor Author

grunweg commented May 10, 2024

Let me close this: #12787 contains most of these changes; the bogus import removal is not helpful as it hides a problem.

@grunweg grunweg closed this May 10, 2024
@YaelDillies YaelDillies deleted the MR-trim-misc-imports branch May 10, 2024 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. ready-to-merge This PR has been sent to bors.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants