-
Notifications
You must be signed in to change notification settings - Fork 990
feat: extend the whitespace linter to proof bodies
#30658
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
Open
grunweg
wants to merge
331
commits into
leanprover-community:master
Choose a base branch
from
grunweg:commandStart_more_uptodate
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
feat: extend the whitespace linter to proof bodies
#30658
grunweg
wants to merge
331
commits into
leanprover-community:master
from
grunweg:commandStart_more_uptodate
+2,302
−405
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…o commandStart_more
…o whitespace/nplusone_to_n_plus_one
…o commandStart_more
…o whitespace/with_inv
…o commandStart_more
…o whitespace/with_inv
…o whitespace/with_inv
…o commandStart_more
github-merge-queue bot
pushed a commit
to leanprover/lean4
that referenced
this pull request
Jan 8, 2026
This PR ensures that pretty-printing of unification hints inserts a space after |- resp. ⊢. All uses in Lean core and mathlib add a space after the |- or ⊢ symbol; this makes the output match usage in practice. This was discovered in leanprover-community/mathlib4#30658, adding a formatting linter using pretty-printing as initial guide.
grunweg
commented
Jan 8, 2026
grunweg
added a commit
to grunweg/mathlib4
that referenced
this pull request
Jan 8, 2026
Found by extending the whitespace linter to proof bodies in leanprover-community#30658.
mathlib-bors bot
pushed a commit
that referenced
this pull request
Jan 8, 2026
Found by extending the whitespace linter to proof bodies in #30658.
It seems to complain on every library note; that's too noisy.
Collaborator
|
Hey 👋 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
blocked-by-other-PR
This PR depends on another PR (this label is automatically managed by a bot)
large-import
Automatically added label for PRs with a significant increase in transitive imports
t-linter
Linter
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
grind_patternleanprover/lean4#11686commandStartlinter towhitespace#33708