Skip to content

[Merged by Bors] - chore: add missing end - #15868

Closed
grunweg wants to merge 2 commits into
masterfrom
MR-fix-missing-end
Closed

grunweg wants to merge 2 commits into
masterfrom
MR-fix-missing-end

Conversation

@grunweg

@grunweg grunweg commented Aug 16, 2024

Copy link
Copy Markdown
Contributor

Fix mathlib for running the missingEnd linter everywhere. Prerequiste to #15845.


Open in Gitpod

Fix mathlib for running the missingEnd linter everywhere.
Prerequiste to #15845.
@grunweg
grunweg requested a review from adomani August 16, 2024 08:46
@github-actions

github-actions Bot commented Aug 16, 2024 •

Copy link
Copy Markdown

PR summary 392c6c4c1d

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

No declarations were harmed in the making of this PR! 🐙

You can run this locally as follows
## summary with just the declaration names:
./scripts/declarations_diff.sh <optional_commit>

## more verbose report:
./scripts/declarations_diff.sh long <optional_commit>

The doc-module for script/declarations_diff.sh contains some details about this script.

@adomani adomani 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.

Looks good to me, thanks!

There is some inconsistency with end Z end Y and end Y.Z. However, this is minor and, if there is a clear style preference, it would likely have to be enforced by a linter.

maintainer merge

@github-actions

Copy link
Copy Markdown

🚀 Pull request has been placed on the maintainer queue by adomani.

@github-actions github-actions Bot added the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Aug 16, 2024
@grunweg

grunweg commented Aug 16, 2024

Copy link
Copy Markdown
Contributor Author

Good find, thanks! I tweaked some changes of this PR, trying to more closely follow "end namespaces how they were opened".
Previous mathlib style is uneven, so changing this in a follow-up (if we care) seems appropriate.

@jcommelin

Copy link
Copy Markdown
Member

Thanks 🎉

bors merge

@github-actions github-actions Bot added the ready-to-merge This PR has been sent to bors. label Aug 16, 2024
mathlib-bors Bot pushed a commit that referenced this pull request Aug 16, 2024
Fix mathlib for running the missingEnd linter everywhere. Prerequiste to #15845.
@mathlib-bors

mathlib-bors Bot commented Aug 16, 2024

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title chore: add missing end [Merged by Bors] - chore: add missing end Aug 16, 2024
@mathlib-bors mathlib-bors Bot closed this Aug 16, 2024
@mathlib-bors
mathlib-bors Bot deleted the MR-fix-missing-end branch August 16, 2024 14:45
bjoernkjoshanssen pushed a commit that referenced this pull request Sep 9, 2024
Fix mathlib for running the missingEnd linter everywhere. Prerequiste to #15845.
bjoernkjoshanssen pushed a commit that referenced this pull request Sep 9, 2024
Fix mathlib for running the missingEnd linter everywhere. Prerequiste to #15845.
bjoernkjoshanssen pushed a commit that referenced this pull request Sep 12, 2024
Fix mathlib for running the missingEnd linter everywhere. Prerequiste to #15845.
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. t-linter Linter

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants