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 intomasterfrom
mradomani-close-sections-automatic
Closed

[Merged by Bors] - chore: close all open sections or namespaces at the end of each file#14621
grunweg wants to merge 16 commits intomasterfrom
mradomani-close-sections-automatic

Conversation

@grunweg
Copy link
Copy Markdown
Contributor

@grunweg grunweg commented Jul 10, 2024

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

grunweg commented Jul 10, 2024

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

kim-em commented Jul 10, 2024

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 <rothgami@math.hu-berlin.de>
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Jul 10, 2024

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 <rothgami@math.hu-berlin.de>
Co-authored-by: grunweg <rothgami@math.hu-berlin.de>
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 <rothgami@math.hu-berlin.de>
Co-authored-by: grunweg <rothgami@math.hu-berlin.de>
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 <rothgami@math.hu-berlin.de>
Co-authored-by: grunweg <rothgami@math.hu-berlin.de>
@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