Skip to content

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

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

[Merged by Bors] - chore: add missing end#15868
grunweg wants to merge 2 commits intomasterfrom
MR-fix-missing-end

Conversation

@grunweg
Copy link
Copy Markdown
Contributor

@grunweg grunweg commented Aug 16, 2024

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

github-actions bot commented Aug 16, 2024

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.

Copy link
Copy Markdown
Contributor

@adomani adomani left a comment

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

grunweg commented Aug 16, 2024

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

mathlib-bors bot commented Aug 16, 2024

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