Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Merged by Bors] - fix: only run the missingEnd linter in mathlib and related projects #14696

Closed
wants to merge 2 commits into from

Conversation

grunweg
Copy link
Collaborator

@grunweg grunweg commented Jul 13, 2024

Copy link

github-actions bot commented Jul 13, 2024

PR summary 2b2ceb1580

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>

Comment on lines +178 to +179
unless #[`Mathlib, `test, `Archive, `Counterexamples].contains (← getMainModule).getRoot do
return
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would be good to reference leanprover/lean4#3403 here, as a breadcrumb for providing options to control this when they (soon!) become available.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea! I've mentioned this PR, here and for the setOption linter also.

@kim-em
Copy link
Contributor

kim-em commented Jul 15, 2024

bors d+

@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Jul 15, 2024

✌️ grunweg can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

@fpvandoorn
Copy link
Member

(Please update PR title before merging)

@grunweg grunweg changed the title fix: only run the endOf linter in mathlib and related projects fix: only run the missingEnd linter in mathlib and related projects Jul 17, 2024
@grunweg
Copy link
Collaborator Author

grunweg commented Jul 17, 2024

Thanks for the review! bors r+

@grunweg grunweg added the t-linter Linter label Jul 17, 2024
@grunweg
Copy link
Collaborator Author

grunweg commented Jul 17, 2024

bors r+

@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Jul 17, 2024

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title fix: only run the missingEnd linter in mathlib and related projects [Merged by Bors] - fix: only run the missingEnd linter in mathlib and related projects Jul 17, 2024
@mathlib-bors mathlib-bors bot closed this Jul 17, 2024
@mathlib-bors mathlib-bors bot deleted the MR-restrict-endOf branch July 17, 2024 12:28
@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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants