Skip to content

chore: trim a few imports and noshake exceptions - #12714

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

grunweg wants to merge 2 commits into
masterfrom
MR-trim-misc-imports

Conversation

@grunweg

@grunweg grunweg commented May 6, 2024

Copy link
Copy Markdown
Contributor
  • 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

@Ruben-VandeVelde Ruben-VandeVelde left a comment

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.

It builds, so it must be good

maintainer merge

@github-actions

github-actions Bot commented May 7, 2024

Copy link
Copy Markdown

🚀 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

@jcommelin jcommelin left a comment

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.

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

sgouezel commented May 7, 2024

Copy link
Copy Markdown
Contributor

bors r-

@mathlib-bors

mathlib-bors Bot commented May 7, 2024

Copy link
Copy Markdown
Contributor

Canceled.

@grunweg

grunweg commented May 10, 2024

Copy link
Copy Markdown
Contributor Author

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