Skip to content

[Merged by Bors] - chore: close all open sections or namespaces at the end of each file - #14621

Closed
grunweg wants to merge 16 commits into
masterfrom
mradomani-close-sections-automatic
Closed

grunweg wants to merge 16 commits into
masterfrom
mradomani-close-sections-automatic

Conversation

@grunweg

@grunweg grunweg commented Jul 10, 2024 •

Copy link
Copy Markdown
Contributor

Automatically generated from the linter in #14378.
#14620 contains a few manual tweaks; these PRs can be landed in any order (and the second one rebased on the first).


Open in Gitpod

@github-actions

Copy link
Copy Markdown

PR summary 0a5d59814c

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/no_lost_declarations.sh short <optional_commit>

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

@grunweg

grunweg commented Jul 10, 2024

Copy link
Copy Markdown
Contributor Author

I reviewed these changes already in the other PR: as I said, there are a number of opportunities for follow-up clean-up, but I am happy to take this to other PRs.
maintainer merge

@github-actions

Copy link
Copy Markdown

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

@github-actions github-actions Bot added the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Jul 10, 2024
@kim-em

kim-em commented Jul 10, 2024

Copy link
Copy Markdown
Contributor

bors merge

@github-actions github-actions Bot added the ready-to-merge This PR has been sent to bors. label Jul 10, 2024
mathlib-bors Bot pushed a commit that referenced this pull request Jul 10, 2024
…14621)

Automatically generated from the linter in #14378.
#14620 contains a few manual tweaks; these PRs can be landed in any order (and the second one rebased on the first).



Co-authored-by: Michael Rothgang <[email protected]>
@mathlib-bors

mathlib-bors Bot commented Jul 10, 2024

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title chore: close all open sections or namespaces at the end of each file [Merged by Bors] - chore: close all open sections or namespaces at the end of each file Jul 10, 2024
@mathlib-bors mathlib-bors Bot closed this Jul 10, 2024
@mathlib-bors
mathlib-bors Bot deleted the mradomani-close-sections-automatic branch July 10, 2024 20:53
grunweg added a commit that referenced this pull request Jul 11, 2024
mathlib-bors Bot pushed a commit that referenced this pull request Jul 11, 2024
This linter emits a warning at the end of a file if there are unclosed `namespace`s or `section`s.
All missing `end`s have been added (automatically) in #14621.

Unlike #14352, this PR does leaves outermost `noncomputable section`s open.

[Zulip thread](https://leanprover.zulipchat.com/#narrow/stream/287929-mathlib4/topic/linting.20for.20unclosed.20sections.3F)



Co-authored-by: Michael Rothgang <[email protected]>
Co-authored-by: grunweg <[email protected]>
mathlib-bors Bot pushed a commit that referenced this pull request Jul 11, 2024
This linter emits a warning at the end of a file if there are unclosed `namespace`s or `section`s.
All missing `end`s have been added (automatically) in #14621.

Unlike #14352, this PR does leaves outermost `noncomputable section`s open.

[Zulip thread](https://leanprover.zulipchat.com/#narrow/stream/287929-mathlib4/topic/linting.20for.20unclosed.20sections.3F)



Co-authored-by: Michael Rothgang <[email protected]>
Co-authored-by: grunweg <[email protected]>
mathlib-bors Bot pushed a commit that referenced this pull request Jul 11, 2024
This linter emits a warning at the end of a file if there are unclosed `namespace`s or `section`s.
All missing `end`s have been added (automatically) in #14621.

Unlike #14352, this PR does leaves outermost `noncomputable section`s open.

[Zulip thread](https://leanprover.zulipchat.com/#narrow/stream/287929-mathlib4/topic/linting.20for.20unclosed.20sections.3F)



Co-authored-by: Michael Rothgang <[email protected]>
Co-authored-by: grunweg <[email protected]>
@adomani adomani mentioned this pull request Aug 1, 2024
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.

3 participants